X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fegl%2Ffg_structure_egl.c;h=135f049075bcb310f109bc7be550b31c5d26dff1;hb=2c12c9eb8d63cabac2d4113b4f54fdf53da8368c;hp=adc3ceac0823761a143ccd9ba9d67f8e1ca35b9b;hpb=44856885ba35db9526d24d140b84ce492f4871d2;p=freeglut diff --git a/src/egl/fg_structure_egl.c b/src/egl/fg_structure_egl.c index adc3cea..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,9 +26,10 @@ #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.Config = NULL;