X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fandroid%2Ffg_internal_android.h;fp=src%2Fandroid%2Ffg_internal_android.h;h=e13b675642a436dc15cb4475558ac7f0f62c256d;hb=d1cccef518bc222b3733706aa1e5776c6cb9fec9;hp=83373de556ddc5819d7d85746b62f38ad34c0d3b;hpb=e194bd1249867a1119e9e3f37e4e1a9886e956bc;p=freeglut diff --git a/src/android/fg_internal_android.h b/src/android/fg_internal_android.h index 83373de..e13b675 100644 --- a/src/android/fg_internal_android.h +++ b/src/android/fg_internal_android.h @@ -31,6 +31,23 @@ /* Android OpenGL ES is accessed through EGL */ #include "egl/fg_internal_egl.h" +/* -- GLOBAL TYPE DEFINITIONS ---------------------------------------------- */ +/* The structure used by display initialization in freeglut_init.c */ +typedef struct tagSFG_PlatformDisplay SFG_PlatformDisplay; +struct tagSFG_PlatformDisplay +{ + struct tagSFG_PlatformDisplayEGL egl; + struct tagSFG_Window* single_window; +}; + +typedef struct tagSFG_PlatformContext SFG_PlatformContext; +/* SFG_PlatformContext is used for SFG_Window.Window */ +struct tagSFG_PlatformContext +{ + struct tagSFG_PlatformContextEGL egl; +}; + + /** * Virtual PAD (spots on touchscreen that simulate keys) */