X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fandroid%2Ffg_internal_android.h;h=0feaad61f3d6b5a5483b836dc1d4c7b7aa631b1d;hb=6a9540715abb6477b2a55e0a54246bfea66dfb95;hp=a0441b54a54d7de8891dcd627d3b46f7801e7a26;hpb=cdeae7881c68d9501ed28e7b839b31771a09d22d;p=freeglut diff --git a/src/android/fg_internal_android.h b/src/android/fg_internal_android.h index a0441b5..0feaad6 100644 --- a/src/android/fg_internal_android.h +++ b/src/android/fg_internal_android.h @@ -1,5 +1,5 @@ /* - * freeglut_internal_android.h + * fg_internal_android.h * * The freeglut library private include file. * @@ -34,10 +34,12 @@ /* -- GLOBAL TYPE DEFINITIONS ---------------------------------------------- */ /* The structure used by display initialization in freeglut_init.c */ typedef struct tagSFG_PlatformDisplay SFG_PlatformDisplay; +struct android_app; struct tagSFG_PlatformDisplay { struct tagSFG_PlatformDisplayEGL egl; - struct tagSFG_Window* single_window; + EGLNativeWindowType single_native_window; + struct android_app* app; }; typedef struct tagSFG_PlatformContext SFG_PlatformContext; @@ -104,6 +106,8 @@ struct tagSFG_PlatformJoystick typedef struct tagSFG_PlatformWindowState SFG_PlatformWindowState; struct tagSFG_PlatformWindowState { + int32_t LastHeight; + int32_t LastWidth; }; #endif /* FREEGLUT_INTERNAL_ANDROID_H */