]> git.mxchange.org Git - simgear.git/blobdiff - simgear/screen/screen-dump.hxx
Oops, WIN32 typo fix.
[simgear.git] / simgear / screen / screen-dump.hxx
index 41da1b05f963a21401923f28495cc83094fcba75..7c2e922d9390391a7d97178b754e72434d77a012 100644 (file)
@@ -22,6 +22,9 @@
 //
 // $Id$
 
+#include <simgear/compiler.h>
+
+#include SG_GL_H
 
 /**
  * Dump the screen buffer to a ppm file.
@@ -29,7 +32,7 @@
  * @param win_width width of our opengl window
  * @param win_height height of our opengl window
  */
-void my_glDumpWindow( const char *filename, int win_width, int win_height );
+bool sg_glDumpWindow( const char *filename, int win_width, int win_height );
 
 
 /**
@@ -40,5 +43,5 @@ void my_glDumpWindow( const char *filename, int win_width, int win_height );
  * @param win_height height of buffer
  * @param mode one of GL_RGBA, GL_RGB, etc.
  */
-void my_glWritePPMFile( const char *filename, GLubyte *buffer, int win_width, 
+bool sg_glWritePPMFile( const char *filename, GLubyte *buffer, int win_width, 
                        int win_height, int mode);