summaryrefslogtreecommitdiffstats
path: root/opengl
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-06-23 14:05:35 -0700
committerMathias Agopian <mathias@google.com>2009-06-23 14:05:35 -0700
commite8f7c682d2a083742c293a7de59f2282e6fa7a53 (patch)
treeeec211cc4c727a6a41c6b7209fdc63006437ecbf /opengl
parent3142f4f40ba745ecd3cd9f1839adaebc1f20fede (diff)
downloadframeworks_base-e8f7c682d2a083742c293a7de59f2282e6fa7a53.zip
frameworks_base-e8f7c682d2a083742c293a7de59f2282e6fa7a53.tar.gz
frameworks_base-e8f7c682d2a083742c293a7de59f2282e6fa7a53.tar.bz2
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
Diffstat (limited to 'opengl')
-rw-r--r--opengl/include/EGL/eglplatform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/include/EGL/eglplatform.h b/opengl/include/EGL/eglplatform.h
index 9561490..11aa4e2 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