*/
#include <GL/freeglut.h>
-#include "../fg_internal.h"
+#include "fg_internal.h"
+#ifdef EGL_VERSION_1_0
+#include "egl/fg_structure_egl.h"
+#endif
extern SFG_Structure fgStructure;
void fgPlatformCreateWindow ( SFG_Window *window )
{
+#ifdef EGL_VERSION_1_0
+ fghPlatformCreateWindowEGL(window);
+#else
window->Window.pContext.FBConfig = NULL;
+#endif
window->State.pWState.OldHeight = window->State.pWState.OldWidth = -1;
}