Blame brutalchess-0.5.2-fix-FTBFS.patch
|
Rex Dieter |
cb8171b |
--- src/md3view.cpp.orig 2008-07-19 09:00:23.000000000 +0200
|
|
Rex Dieter |
cb8171b |
+++ src/md3view.cpp 2008-07-19 09:00:39.000000000 +0200
|
|
Rex Dieter |
cb8171b |
@@ -72,7 +72,7 @@
|
|
Rex Dieter |
cb8171b |
exit( returnCode );
|
|
Rex Dieter |
cb8171b |
}
|
|
Rex Dieter |
cb8171b |
|
|
Rex Dieter |
cb8171b |
-int initGL( GLvoid );
|
|
Rex Dieter |
cb8171b |
+int initGL( void );
|
|
Rex Dieter |
cb8171b |
// function to reset our viewport after a window resize
|
|
Rex Dieter |
cb8171b |
int resizeWindow( int width, int height )
|
|
Rex Dieter |
cb8171b |
{
|
|
Rex Dieter |
cb8171b |
@@ -108,7 +108,7 @@
|
|
Rex Dieter |
cb8171b |
|
|
Rex Dieter |
cb8171b |
|
|
Rex Dieter |
cb8171b |
// general OpenGL initialization function
|
|
Rex Dieter |
cb8171b |
-int initGL( GLvoid )
|
|
Rex Dieter |
cb8171b |
+int initGL( void )
|
|
Rex Dieter |
cb8171b |
{
|
|
Rex Dieter |
cb8171b |
cout << "Initializing OpenGL" << endl;
|
|
Rex Dieter |
cb8171b |
// Enable smooth shading
|
|
Rex Dieter |
cb8171b |
--- src/objview.cpp.orig 2008-07-19 09:00:55.000000000 +0200
|
|
Rex Dieter |
cb8171b |
+++ src/objview.cpp 2008-07-19 09:01:04.000000000 +0200
|
|
Rex Dieter |
cb8171b |
@@ -73,7 +73,7 @@
|
|
Rex Dieter |
cb8171b |
exit( returnCode );
|
|
Rex Dieter |
cb8171b |
}
|
|
Rex Dieter |
cb8171b |
|
|
Rex Dieter |
cb8171b |
-int initGL( GLvoid );
|
|
Rex Dieter |
cb8171b |
+int initGL( void );
|
|
Rex Dieter |
cb8171b |
// function to reset our viewport after a window resize
|
|
Rex Dieter |
cb8171b |
int resizeWindow( int width, int height )
|
|
Rex Dieter |
cb8171b |
{
|
|
Rex Dieter |
cb8171b |
@@ -109,7 +109,7 @@
|
|
Rex Dieter |
cb8171b |
|
|
Rex Dieter |
cb8171b |
|
|
Rex Dieter |
cb8171b |
// general OpenGL initialization function
|
|
Rex Dieter |
cb8171b |
-int initGL( GLvoid )
|
|
Rex Dieter |
cb8171b |
+int initGL( void )
|
|
Rex Dieter |
cb8171b |
{
|
|
Rex Dieter |
cb8171b |
cout << "Initializing OpenGL" << endl;
|
|
Rex Dieter |
cb8171b |
// Enable smooth shading
|
|
Rex Dieter |
cb8171b |
@@ -158,7 +158,7 @@
|
|
Rex Dieter |
cb8171b |
}
|
|
Rex Dieter |
cb8171b |
|
|
Rex Dieter |
cb8171b |
// Here goes our drawing code
|
|
Rex Dieter |
cb8171b |
-int drawGLScene( GLvoid )
|
|
Rex Dieter |
cb8171b |
+int drawGLScene( void )
|
|
Rex Dieter |
cb8171b |
{
|
|
Rex Dieter |
cb8171b |
// These are to calculate our fps
|
|
Rex Dieter |
cb8171b |
static GLint T0 = 0;
|