From 95d1ac354ef6c671fa9e4648290f9affb7cab860 Mon Sep 17 00:00:00 2001 From: ehofman Date: Sat, 11 Mar 2006 22:20:19 +0000 Subject: [PATCH] Mac OS X fixes from Ima Sudonim. --- simgear/screen/RenderTexture.cpp | 6 +++--- simgear/screen/RenderTexture.h | 8 -------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/simgear/screen/RenderTexture.cpp b/simgear/screen/RenderTexture.cpp index 00c934e3..9e55bf54 100644 --- a/simgear/screen/RenderTexture.cpp +++ b/simgear/screen/RenderTexture.cpp @@ -523,9 +523,9 @@ bool RenderTexture::Initialize(int width, int height, } if ( iNumFormats <= 0 ) { - fprintf(stderr, - "RenderTexture Error: Couldn't find a suitable "+ - "pixel format.\n"); + SG_LOG(SG_GL, SG_ALERT, + "RenderTexture Error: Couldn't find a suitable " + "pixel format."); return false; } diff --git a/simgear/screen/RenderTexture.h b/simgear/screen/RenderTexture.h index 49582191..73057dbe 100644 --- a/simgear/screen/RenderTexture.h +++ b/simgear/screen/RenderTexture.h @@ -57,14 +57,6 @@ #ifndef _WIN32 # include SG_GLX_H #endif -#ifdef __MACH__ -# ifndef None -# define None false -# endif -# ifndef True -# define True true -# endif -#endif #include #include -- 2.39.5