summaryrefslogtreecommitdiffstats
path: root/opengl
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-09-09 11:20:02 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-09-09 11:20:02 -0700
commite7bca18f7942d7c1f31f10406b6462841501a4c3 (patch)
treee5015fab883a7bff4ae84521cd24d33ce51e2381 /opengl
parent839a78ea4788c6cdf29312be289ea0e4308fa0c4 (diff)
parent77fbf8ddd9ecdde8272de845db29c34a6f1ff55e (diff)
downloadframeworks_native-e7bca18f7942d7c1f31f10406b6462841501a4c3.zip
frameworks_native-e7bca18f7942d7c1f31f10406b6462841501a4c3.tar.gz
frameworks_native-e7bca18f7942d7c1f31f10406b6462841501a4c3.tar.bz2
Merge "Fix a few typos in EGL wrapper" into gingerbread
Diffstat (limited to 'opengl')
-rw-r--r--opengl/libs/EGL/egl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/opengl/libs/EGL/egl.cpp b/opengl/libs/EGL/egl.cpp
index 5e61607..df21358 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;