X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fandroid%2Ffg_window_android.c;h=65f4d4d738d1f45539f39bf46f871d48fe245caf;hb=33809048f02c69b63bc8ac4a0fafc7f6eaf4a363;hp=5d1bc1991927dd480212d5afd1ad17def8cbcc96;hpb=06ec540147001021c3b4f02fc70e7a7dd1d93d89;p=freeglut diff --git a/src/android/fg_window_android.c b/src/android/fg_window_android.c index 5d1bc19..65f4d4d 100644 --- a/src/android/fg_window_android.c +++ b/src/android/fg_window_android.c @@ -32,6 +32,8 @@ #include "egl/fg_window_egl.h" #include +extern void fghRedrawWindow(SFG_Window *window); + /* * Opens a window. Requires a SFG_Window object created and attached * to the freeglut structure. OpenGL context is created here. @@ -86,6 +88,22 @@ void fgPlatformOpenWindow( SFG_Window* window, const char* title, } /* + * Request a window resize + */ +void fgPlatformReshapeWindow ( SFG_Window *window, int width, int height ) +{ + fprintf(stderr, "fgPlatformReshapeWindow: STUB\n"); +} + +/* + * A static helper function to execute display callback for a window + */ +void fgPlatformDisplayWindow ( SFG_Window *window ) +{ + fghRedrawWindow ( window ) ; +} + +/* * Closes a window, destroying the frame and OpenGL context */ void fgPlatformCloseWindow( SFG_Window* window )