X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fegl%2Ffg_structure_egl.c;h=135f049075bcb310f109bc7be550b31c5d26dff1;hb=1592c962040f4a32ac1074f458b503db80241e58;hp=d636bf86ac0caebde9894e4d0e8094128561ce9f;hpb=d1cccef518bc222b3733706aa1e5776c6cb9fec9;p=freeglut diff --git a/src/egl/fg_structure_egl.c b/src/egl/fg_structure_egl.c index d636bf8..135f049 100644 --- a/src/egl/fg_structure_egl.c +++ b/src/egl/fg_structure_egl.c @@ -1,5 +1,5 @@ /* - * freeglut_structure_egl.c + * fg_structure_egl.c * * Windows and menus need tree structure * @@ -26,10 +26,11 @@ #include #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; }