/*
- * 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;
}