Move OpenGL ES stubs out of Android
[freeglut] / src / egl / fg_structure_egl.c
index 0466bc8..55893d8 100644 (file)
 
 extern SFG_Structure fgStructure;
 
+/**
+ * Initialize default platform-specific fields in SFG_Window
+ */
 void fgPlatformCreateWindow ( SFG_Window *window )
 {
-  window->Window.pContext.eglSurface = EGL_NO_SURFACE;
+  window->Window.pContext.egl.Surface = EGL_NO_SURFACE;
+  window->Window.pContext.egl.Config = NULL;
 }