diff options
| author | 2010-09-09 11:23:16 -0700 | |
|---|---|---|
| committer | 2010-09-09 11:23:16 -0700 | |
| commit | 358fea99da4e676b258fe38c7bb858e88a5bd24e (patch) | |
| tree | 1c4405aec1d805cbfe8dab6c0d156c39d986bda6 | |
| parent | 3302c9571c59873407f4fde742b4a2f2b8e59866 (diff) | |
| parent | e7bca18f7942d7c1f31f10406b6462841501a4c3 (diff) | |
am 6808e6a8: Merge "Fix a few typos in EGL wrapper" into gingerbread
Merge commit '6808e6a867ba0b32f8bd97163e134c2866423f01' into gingerbread-plus-aosp
* commit '6808e6a867ba0b32f8bd97163e134c2866423f01':
Fix a few typos in EGL wrapper
| -rw-r--r-- | opengl/libs/EGL/egl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opengl/libs/EGL/egl.cpp b/opengl/libs/EGL/egl.cpp index 5e61607da8..df21358dc7 100644 --- a/opengl/libs/EGL/egl.cpp +++ b/opengl/libs/EGL/egl.cpp @@ -239,7 +239,7 @@ struct egl_image_t : public egl_object_t memset(images, 0, sizeof(images)); } EGLDisplay dpy; - EGLConfig context; + EGLContext context; EGLImageKHR images[IMPL_NUM_IMPLEMENTATIONS]; }; @@ -1769,7 +1769,7 @@ EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR img) egl_connection_t* const cnx = &gEGLImpl[i]; if (image->images[i] != EGL_NO_IMAGE_KHR) { if (cnx->dso) { - if (cnx->egl.eglCreateImageKHR) { + if (cnx->egl.eglDestroyImageKHR) { if (cnx->egl.eglDestroyImageKHR( dp->disp[i].dpy, image->images[i])) { success = true; |