mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
silence warning
This commit is contained in:
parent
16c8dce363
commit
5222662f52
1 changed files with 2 additions and 1 deletions
|
|
@ -10,8 +10,8 @@
|
|||
#include <string.h>
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#define GL_GLEXT_PROTOTYPES
|
||||
#endif
|
||||
#define GL_GLEXT_PROTOTYPES
|
||||
#include <GL/glut.h>
|
||||
|
||||
|
||||
|
|
@ -257,6 +257,7 @@ int main( int argc, char *argv[] )
|
|||
glutCreateWindow(argv[0]);
|
||||
|
||||
Init();
|
||||
(void) Init2; /* silence warning */
|
||||
|
||||
glutReshapeFunc( Reshape );
|
||||
glutKeyboardFunc( Key );
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue