From e8f7c682d2a083742c293a7de59f2282e6fa7a53 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Tue, 23 Jun 2009 14:05:35 -0700 Subject: [PATCH] Android now has its own EGL extension block (yay) 0x3140-0x314F. EGL_NATIVE_BUFFER_ANDROID now maps to 0x3140 instead of using the staging range --- opengl/include/EGL/eglplatform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opengl/include/EGL/eglplatform.h b/opengl/include/EGL/eglplatform.h index 956149091d817..11aa4e2f41355 100644 --- a/opengl/include/EGL/eglplatform.h +++ b/opengl/include/EGL/eglplatform.h @@ -99,7 +99,7 @@ typedef void* EGLNativeDisplayType; #ifndef EGL_ANDROID_image_native_buffer #define EGL_ANDROID_image_native_buffer 1 struct android_native_buffer_t; -#define EGL_NATIVE_BUFFER_ANDROID 0x6000 /* eglCreateImageKHR target */ +#define EGL_NATIVE_BUFFER_ANDROID 0x3140 /* eglCreateImageKHR target */ #endif #else