Bladeren bron

Merge branch 'master' of github.com:bkaradzic/bgfx

bkaradzic 12 jaren geleden
bovenliggende
commit
ce4a141099
1 gewijzigde bestanden met toevoegingen van 10 en 0 verwijderingen
  1. 10 0
      3rdparty/glext/EGL/eglplatform.h

+ 10 - 0
3rdparty/glext/EGL/eglplatform.h

@@ -95,6 +95,16 @@ typedef int   EGLNativeDisplayType;
 typedef void *EGLNativeWindowType;
 typedef void *EGLNativePixmapType;
 
+#elif defined(__ANDROID__) || defined(ANDROID)
+
+#include <android/native_window.h>
+
+struct egl_native_pixmap_t;
+
+typedef struct ANativeWindow*           EGLNativeWindowType;
+typedef struct egl_native_pixmap_t*     EGLNativePixmapType;
+typedef void*                           EGLNativeDisplayType;
+
 #elif defined(__unix__)
 
 /* X11 (tentative)  */