From 5f679392d92fbc0520d1b7fd4986502c6f3ad098 Mon Sep 17 00:00:00 2001 From: shadzik Date: Sun, 8 Apr 2007 14:05:07 +0000 Subject: [PATCH] - kill GLvoid argument in some functions (it's unneeded and breaks build on *nix systems) Changed files: brutalchess-GLvoid.patch -> 1.1 --- brutalchess-GLvoid.patch | 49 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 brutalchess-GLvoid.patch diff --git a/brutalchess-GLvoid.patch b/brutalchess-GLvoid.patch new file mode 100644 index 0000000..b717d42 --- /dev/null +++ b/brutalchess-GLvoid.patch @@ -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; -- 2.43.0