]> git.pld-linux.org Git - packages/brutalchess.git/blob - brutalchess-GLvoid.patch
- kill GLvoid argument in some functions (it's unneeded and breaks build on *nix...
[packages/brutalchess.git] / brutalchess-GLvoid.patch
1 --- src/md3view.cpp     2006-04-19 00:26:16.000000000 +0200
2 +++ src/md3view.cpp-new 2007-04-08 15:54:46.807962969 +0200
3 @@ -72,7 +72,7 @@
4         exit( returnCode );
5  }
6  
7 -int initGL( GLvoid );
8 +int initGL();
9  // function to reset our viewport after a window resize
10  int resizeWindow( int width, int height )
11  {
12 @@ -108,7 +108,7 @@
13  
14  
15  // general OpenGL initialization function
16 -int initGL( GLvoid )
17 +int initGL()
18  {
19         cout << "Initializing OpenGL" << endl;
20         // Enable smooth shading
21 --- src/objview.cpp     2006-04-18 22:34:25.000000000 +0200
22 +++ src/objview.cpp-new 2007-04-08 15:55:44.339054060 +0200
23 @@ -73,7 +73,7 @@
24         exit( returnCode );
25  }
26  
27 -int initGL( GLvoid );
28 +int initGL();
29  // function to reset our viewport after a window resize
30  int resizeWindow( int width, int height )
31  {
32 @@ -109,7 +109,7 @@
33  
34  
35  // general OpenGL initialization function
36 -int initGL( GLvoid )
37 +int initGL()
38  {
39         cout << "Initializing OpenGL" << endl;
40         // Enable smooth shading
41 @@ -158,7 +158,7 @@
42  }
43  
44  // Here goes our drawing code
45 -int drawGLScene( GLvoid )
46 +int drawGLScene()
47  {
48         // These are to calculate our fps
49         static GLint T0     = 0;
This page took 0.062834 seconds and 3 git commands to generate.