diff options
author | Mathias Agopian <mathias@google.com> | 2010-09-09 14:21:55 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-09-09 14:21:55 -0700 |
commit | acd8fd04934c3d5fb9853fd250b6a7f2ab347276 (patch) | |
tree | a585dcc7e2acf77ad8ab12a6e07b913b01c452d6 /opengl/libs/EGL/egl.cpp | |
parent | 9a2e44e2e5e37d4987d25b8a9f03a57ac3c83929 (diff) | |
parent | 358fea99da4e676b258fe38c7bb858e88a5bd24e (diff) | |
download | frameworks_native-acd8fd04934c3d5fb9853fd250b6a7f2ab347276.zip frameworks_native-acd8fd04934c3d5fb9853fd250b6a7f2ab347276.tar.gz frameworks_native-acd8fd04934c3d5fb9853fd250b6a7f2ab347276.tar.bz2 |
am a9ff29b5: am 6808e6a8: Merge "Fix a few typos in EGL wrapper" into gingerbread
Merge commit 'a9ff29b59cf33e552285a0bff3caf7a44f93f1c0'
* commit 'a9ff29b59cf33e552285a0bff3caf7a44f93f1c0':
Fix a few typos in EGL wrapper
Diffstat (limited to 'opengl/libs/EGL/egl.cpp')
-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 9228b0b..bd5fad2 100644 --- a/opengl/libs/EGL/egl.cpp +++ b/opengl/libs/EGL/egl.cpp @@ -240,7 +240,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]; }; @@ -1770,7 +1770,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; |