X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fx11%2Ffg_structure_x11.c;h=e1d5eb49d8cd345a42ffc0107500388df63876bb;hb=b744f1401b990f642e96d4c65cc86eca5224efd1;hp=cbc912971d15c909c790c528572961bcfab115a3;hpb=5b3d339481bac6dbaeb599bffc1325f716585bfe;p=freeglut diff --git a/src/x11/fg_structure_x11.c b/src/x11/fg_structure_x11.c index cbc9129..e1d5eb4 100644 --- a/src/x11/fg_structure_x11.c +++ b/src/x11/fg_structure_x11.c @@ -33,7 +33,11 @@ extern SFG_Structure fgStructure; void fgPlatformCreateWindow ( SFG_Window *window ) { +#ifdef EGL_VERSION_1_0 + fghPlatformCreateWindowEGL(window); +#else window->Window.pContext.FBConfig = NULL; +#endif window->State.pWState.OldHeight = window->State.pWState.OldWidth = -1; }