]> git.mxchange.org Git - simgear.git/blobdiff - simgear/screen/RenderTexture.cpp
make headers include headers they depend on, don't rely on the c(xx)
[simgear.git] / simgear / screen / RenderTexture.cpp
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;
         }