OSDN Git Service

Update eglplatform.h to match Android NDK.
authorNicolas Capens <capn@google.com>
Fri, 4 Aug 2017 13:18:52 +0000 (09:18 -0400)
committerNicolas Capens <nicolascapens@google.com>
Fri, 4 Aug 2017 14:46:24 +0000 (14:46 +0000)
This change has been part of the Android NDK since API 18, corresponding
with Android 4.3 Jelly Bean MR2.

Change-Id: I6df06f46c286ce89ea56913684e43d558917d1a8
Reviewed-on: https://swiftshader-review.googlesource.com/11269
Tested-by: Nicolas Capens <nicolascapens@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
include/EGL/eglplatform.h

index 1284089..a3b7234 100644 (file)
@@ -85,8 +85,7 @@ typedef void *EGLNativePixmapType;
 
 #elif defined(__ANDROID__) || defined(ANDROID)
 
-#include <android/native_window.h>
-
+struct ANativeWindow;
 struct egl_native_pixmap_t;
 
 typedef struct ANativeWindow*           EGLNativeWindowType;