summaryrefslogtreecommitdiffstats
path: root/opengl
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-09-22 14:15:15 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-09-22 14:15:15 -0700
commite59c69dc3b1f2fa206aa22698c4aa31498438a5e (patch)
tree0da6a15a07d802a0b74d11d8cc318c9a4fb91d4c /opengl
parentcedb67efd81e31f001d4c1309b4259ad48554c09 (diff)
parent4644ea7f46951452a091d172a425559cd07411d7 (diff)
downloadframeworks_base-e59c69dc3b1f2fa206aa22698c4aa31498438a5e.zip
frameworks_base-e59c69dc3b1f2fa206aa22698c4aa31498438a5e.tar.gz
frameworks_base-e59c69dc3b1f2fa206aa22698c4aa31498438a5e.tar.bz2
Merge "fix typo EGL_NO_IMAGE_KHR -> EGL_NO_SYNC_KHR"
Diffstat (limited to 'opengl')
-rw-r--r--opengl/libs/EGL/egl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/opengl/libs/EGL/egl.cpp b/opengl/libs/EGL/egl.cpp
index 66f9e2d..2f4d5db 100644
--- a/opengl/libs/EGL/egl.cpp
+++ b/opengl/libs/EGL/egl.cpp
@@ -1816,16 +1816,16 @@ EGLSyncKHR eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_l
{
EGLContext ctx = eglGetCurrentContext();
ContextRef _c(ctx);
- if (!_c.get()) return setError(EGL_BAD_CONTEXT, EGL_NO_IMAGE_KHR);
+ if (!_c.get()) return setError(EGL_BAD_CONTEXT, EGL_NO_SYNC_KHR);
if (!validate_display_context(dpy, ctx))
- return EGL_NO_IMAGE_KHR;
+ return EGL_NO_SYNC_KHR;
egl_display_t const * const dp = get_display(dpy);
egl_context_t * const c = get_context(ctx);
- EGLSyncKHR result = EGL_NO_IMAGE_KHR;
+ EGLSyncKHR result = EGL_NO_SYNC_KHR;
if (c->cnx->egl.eglCreateSyncKHR) {
EGLSyncKHR sync = c->cnx->egl.eglCreateSyncKHR(
dp->disp[c->impl].dpy, type, attrib_list);
- if (sync == EGL_NO_IMAGE_KHR)
+ if (sync == EGL_NO_SYNC_KHR)
return sync;
result = (egl_sync_t*)new egl_sync_t(dpy, ctx, sync);
}