minor fix on CMakeLists for checking MSVC_VERSION
[freeglut] / src / egl / fg_structure_egl.c
index adc3cea..135f049 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * freeglut_structure_egl.c
+ * fg_structure_egl.c
  *
  * Windows and menus need tree structure
  *
 #include <GL/freeglut.h>
 #include "fg_internal.h"
 
-extern SFG_Structure fgStructure;
-
-void fgPlatformCreateWindow ( SFG_Window *window )
+/**
+ * Initialize default platform-specific fields in SFG_Window
+ */
+void fghPlatformCreateWindowEGL ( SFG_Window *window )
 {
   window->Window.pContext.egl.Surface = EGL_NO_SURFACE;
   window->Window.pContext.egl.Config = NULL;