Fix a few typos in EGL wrapper

Change-Id: I3b815ca6ec334ca12088f9721eece33df42b2e46
This commit is contained in:
Mathias Agopian 2010-09-09 11:12:54 -07:00
parent 403d0beb13
commit 77fbf8ddd9
1 changed files with 2 additions and 2 deletions

View File

@ -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;