X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fegl%2Ffg_window_egl.h;h=8f5898daee50995641bfce55445855faff531ba6;hb=2c12c9eb8d63cabac2d4113b4f54fdf53da8368c;hp=a4beb69a50a1948174a23aa90e05fbe471d424bf;hpb=be0851a736f7a14a550e113c17634c93df90677b;p=freeglut diff --git a/src/egl/fg_window_egl.h b/src/egl/fg_window_egl.h index a4beb69..8f5898d 100644 --- a/src/egl/fg_window_egl.h +++ b/src/egl/fg_window_egl.h @@ -1,5 +1,5 @@ /* - * freeglut_display_android.c + * fg_window_egl.h * * Window management methods for EGL * @@ -26,9 +26,10 @@ #ifndef __FG_WINDOW_EGL_H__ #define __FG_WINDOW_EGL_H__ -extern void fghChooseConfigEGL(EGLConfig* config); +extern int fghChooseConfig(EGLConfig* config); extern void fghPlatformOpenWindowEGL( SFG_Window* window ); -extern void fghCreateNewContextEGL( SFG_Window* window ); +extern EGLConfig fghCreateNewContextEGL( SFG_Window* window ); extern void fghPlatformCloseWindowEGL( SFG_Window* window ); +extern void fgPlatformSetWindow ( SFG_Window *window ); #endif