Fixed freeglut.pdb install for builds with MSVC compiler and NMake.
[freeglut] / src / egl / fg_structure_egl.c
index d636bf8..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.ContextConfig = NULL;
+  window->Window.pContext.egl.Config = NULL;
 }