From: ehofman Date: Sat, 11 Mar 2006 22:20:19 +0000 (+0000) Subject: Mac OS X fixes from Ima Sudonim. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=95d1ac354ef6c671fa9e4648290f9affb7cab860;p=simgear.git Mac OS X fixes from Ima Sudonim. --- 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