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
This commit is contained in:
@@ -239,7 +239,7 @@ struct egl_image_t : public egl_object_t
|
|||||||
memset(images, 0, sizeof(images));
|
memset(images, 0, sizeof(images));
|
||||||
}
|
}
|
||||||
EGLDisplay dpy;
|
EGLDisplay dpy;
|
||||||
EGLConfig context;
|
EGLContext context;
|
||||||
EGLImageKHR images[IMPL_NUM_IMPLEMENTATIONS];
|
EGLImageKHR images[IMPL_NUM_IMPLEMENTATIONS];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1769,7 +1769,7 @@ EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR img)
|
|||||||
egl_connection_t* const cnx = &gEGLImpl[i];
|
egl_connection_t* const cnx = &gEGLImpl[i];
|
||||||
if (image->images[i] != EGL_NO_IMAGE_KHR) {
|
if (image->images[i] != EGL_NO_IMAGE_KHR) {
|
||||||
if (cnx->dso) {
|
if (cnx->dso) {
|
||||||
if (cnx->egl.eglCreateImageKHR) {
|
if (cnx->egl.eglDestroyImageKHR) {
|
||||||
if (cnx->egl.eglDestroyImageKHR(
|
if (cnx->egl.eglDestroyImageKHR(
|
||||||
dp->disp[i].dpy, image->images[i])) {
|
dp->disp[i].dpy, image->images[i])) {
|
||||||
success = true;
|
success = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user