X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fegl%2Ffg_structure_egl.c;h=d636bf86ac0caebde9894e4d0e8094128561ce9f;hb=4bccc79f4b895ec88fec28c49471d04a025804fe;hp=0466bc8aa21818e273fe02de9e3df8b5cb3bd1dd;hpb=7fbb15bc63c7937cab772bd942883e3811acbabf;p=freeglut diff --git a/src/egl/fg_structure_egl.c b/src/egl/fg_structure_egl.c index 0466bc8..d636bf8 100644 --- a/src/egl/fg_structure_egl.c +++ b/src/egl/fg_structure_egl.c @@ -30,5 +30,6 @@ extern SFG_Structure fgStructure; void fgPlatformCreateWindow ( SFG_Window *window ) { - window->Window.pContext.eglSurface = EGL_NO_SURFACE; + window->Window.pContext.egl.Surface = EGL_NO_SURFACE; + window->Window.pContext.egl.ContextConfig = NULL; }