mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
49 lines
1,006 B
Diff
49 lines
1,006 B
Diff
--- a/src/md3view.cpp
|
|
+++ b/src/md3view.cpp
|
|
@@ -72,7 +72,7 @@
|
|
exit( returnCode );
|
|
}
|
|
|
|
-int initGL( GLvoid );
|
|
+int initGL( void );
|
|
// 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( void )
|
|
{
|
|
cout << "Initializing OpenGL" << endl;
|
|
// Enable smooth shading
|
|
--- a/src/objview.cpp
|
|
+++ b/src/objview.cpp
|
|
@@ -73,7 +73,7 @@
|
|
exit( returnCode );
|
|
}
|
|
|
|
-int initGL( GLvoid );
|
|
+int initGL( void );
|
|
// 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( void )
|
|
{
|
|
cout << "Initializing OpenGL" << endl;
|
|
// Enable smooth shading
|
|
@@ -158,7 +158,7 @@
|
|
}
|
|
|
|
// Here goes our drawing code
|
|
-int drawGLScene( GLvoid )
|
|
+int drawGLScene( void )
|
|
{
|
|
// These are to calculate our fps
|
|
static GLint T0 = 0;
|