SOURCES: brutalchess-GLvoid.patch (NEW) - kill GLvoid argument in ...
shadzik
shadzik at pld-linux.org
Sun Apr 8 16:05:12 CEST 2007
Author: shadzik Date: Sun Apr 8 14:05:12 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- kill GLvoid argument in some functions (it's unneeded and breaks build on *nix systems)
---- Files affected:
SOURCES:
brutalchess-GLvoid.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/brutalchess-GLvoid.patch
diff -u /dev/null SOURCES/brutalchess-GLvoid.patch:1.1
--- /dev/null Sun Apr 8 16:05:12 2007
+++ SOURCES/brutalchess-GLvoid.patch Sun Apr 8 16:05:07 2007
@@ -0,0 +1,49 @@
+--- src/md3view.cpp 2006-04-19 00:26:16.000000000 +0200
++++ src/md3view.cpp-new 2007-04-08 15:54:46.807962969 +0200
+@@ -72,7 +72,7 @@
+ exit( returnCode );
+ }
+
+-int initGL( GLvoid );
++int initGL();
+ // function to reset our viewport after a window resize
+ int resizeWindow( int width, int height )
+ {
+@@ -108,7 +108,7 @@
+
+
+ // general OpenGL initialization function
+-int initGL( GLvoid )
++int initGL()
+ {
+ cout << "Initializing OpenGL" << endl;
+ // Enable smooth shading
+--- src/objview.cpp 2006-04-18 22:34:25.000000000 +0200
++++ src/objview.cpp-new 2007-04-08 15:55:44.339054060 +0200
+@@ -73,7 +73,7 @@
+ exit( returnCode );
+ }
+
+-int initGL( GLvoid );
++int initGL();
+ // function to reset our viewport after a window resize
+ int resizeWindow( int width, int height )
+ {
+@@ -109,7 +109,7 @@
+
+
+ // general OpenGL initialization function
+-int initGL( GLvoid )
++int initGL()
+ {
+ cout << "Initializing OpenGL" << endl;
+ // Enable smooth shading
+@@ -158,7 +158,7 @@
+ }
+
+ // Here goes our drawing code
+-int drawGLScene( GLvoid )
++int drawGLScene()
+ {
+ // These are to calculate our fps
+ static GLint T0 = 0;
================================================================
More information about the pld-cvs-commit
mailing list