Move EGL fields to a separate structure for reusability (e.g. upcoming Mesa X11 EGL...
[freeglut] / src / egl / fg_structure_egl.c
index 0466bc8..d636bf8 100644 (file)
@@ -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;
 }