]> git.pld-linux.org Git - packages/brutalchess.git/blobdiff - brutalchess-GLvoid.patch
- kill GLvoid argument in some functions (it's unneeded and breaks build on *nix...
[packages/brutalchess.git] / brutalchess-GLvoid.patch
diff --git a/brutalchess-GLvoid.patch b/brutalchess-GLvoid.patch
new file mode 100644 (file)
index 0000000..b717d42
--- /dev/null
@@ -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;
This page took 0.068604 seconds and 4 git commands to generate.