X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;ds=sidebyside;f=src%2Ffreeglut_init.c;h=054285e81ff4568e7fa50cf47f9877f44ac80c3c;hb=30971e75717f3d7b826714fbbb1171dfaf9164cf;hp=83c02ab21b02a14ff98cd06049d2b483cfbb2d8a;hpb=c18b61ab4c42e28172ba4fb18b72e7c8af1eb98b;p=freeglut diff --git a/src/freeglut_init.c b/src/freeglut_init.c index 83c02ab..054285e 100644 --- a/src/freeglut_init.c +++ b/src/freeglut_init.c @@ -79,7 +79,9 @@ SFG_State fgState = { { -1, -1, GL_FALSE }, /* Position */ GLUT_EXEC_STATE_INIT, /* ExecState */ NULL, /* ProgramName */ GL_FALSE, /* JoysticksInitialised */ - GL_FALSE /* InputDevsInitialised */ + GL_FALSE, /* InputDevsInitialised */ + 0, /* AuxiliaryBufferNumber */ + 0 /* SampleNumber */ }; @@ -893,7 +895,7 @@ void FGAPIENTRY glutInitDisplayString( const char* displayMode ) break ; case 36 : /* "aux": some number of aux buffers */ - glut_state_flag |= GLUT_AUX1; + glut_state_flag |= GLUT_AUX; break ; case 37 : /* Unrecognized */