summaryrefslogtreecommitdiffstats
path: root/opengl/libs/EGL/egl.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-09-09 11:12:54 -0700
committerMathias Agopian <mathias@google.com>2010-09-09 11:12:54 -0700
commit97961db7d38d75dcae3d16e41b37378c54e3a404 (patch)
tree1d7c2dc19bf6ab7c8fe7c941c1e61f4bbdd46ddf /opengl/libs/EGL/egl.cpp
parent9bfb060ac4e30c82ec2c269b78cc758a6cb5daf8 (diff)
downloadframeworks_base-97961db7d38d75dcae3d16e41b37378c54e3a404.zip
frameworks_base-97961db7d38d75dcae3d16e41b37378c54e3a404.tar.gz
frameworks_base-97961db7d38d75dcae3d16e41b37378c54e3a404.tar.bz2
Fix a few typos in EGL wrapper
Change-Id: I3b815ca6ec334ca12088f9721eece33df42b2e46
Diffstat (limited to 'opengl/libs/EGL/egl.cpp')
-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;