X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;ds=sidebyside;f=src%2Fandroid%2Ffg_internal_android.h;fp=src%2Fandroid%2Ffg_internal_android.h;h=0feaad61f3d6b5a5483b836dc1d4c7b7aa631b1d;hb=06ec540147001021c3b4f02fc70e7a7dd1d93d89;hp=c5d146e8e36769f070636994d811d3cb9efede48;hpb=1756bdee48e0b2fdc7bdbe0b6f4e11062eecd412;p=freeglut diff --git a/src/android/fg_internal_android.h b/src/android/fg_internal_android.h index c5d146e..0feaad6 100644 --- a/src/android/fg_internal_android.h +++ b/src/android/fg_internal_android.h @@ -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;