]> git.mxchange.org Git - simgear.git/commitdiff
Mac OS X fixes from Ima Sudonim.
authorehofman <ehofman>
Sat, 11 Mar 2006 22:20:19 +0000 (22:20 +0000)
committerehofman <ehofman>
Sat, 11 Mar 2006 22:20:19 +0000 (22:20 +0000)
simgear/screen/RenderTexture.cpp
simgear/screen/RenderTexture.h

index 00c934e3be7f567664afab8d777ed6c1dfc5b68a..9e55bf54727cc56d8500832e4c29c26fa2753789 100644 (file)
@@ -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;
         }
 
index 49582191038eb99c94949558bd815e05d591ada7..73057dbefc42ac1b93c42c1c9129c114c21d450e 100644 (file)
 #ifndef _WIN32
 #  include SG_GLX_H
 #endif
-#ifdef __MACH__
-#  ifndef None
-#     define None false
-#  endif
-#  ifndef True
-#     define True true
-#  endif
-#endif 
 
 #include <string>
 #include <vector>