diff options
author | Mathias Agopian <mathias@google.com> | 2010-03-29 15:12:19 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2010-03-29 15:12:19 -0700 |
commit | a5d4ad3d52df777841108860a9cae61ea7407f21 (patch) | |
tree | b519b58bd0263803949cea59ce6919d8ffa4a23c /opengl | |
parent | ab69e29c1927bdc6143324eba5ccd78f7c43128d (diff) | |
download | frameworks_base-a5d4ad3d52df777841108860a9cae61ea7407f21.zip frameworks_base-a5d4ad3d52df777841108860a9cae61ea7407f21.tar.gz frameworks_base-a5d4ad3d52df777841108860a9cae61ea7407f21.tar.bz2 |
Fix Android's glEGLImageTargetRenderbufferOES() wrapper
glEGLImageTargetRenderbufferOES() pass the wrapped EGLImage
to the implementation, rather than the unwrapped one.
Change-Id: I149f9ed73e6ab9089110600e1db4311ba7a8c83a
Diffstat (limited to 'opengl')
-rw-r--r-- | opengl/libs/GLES2/gl2.cpp | 2 | ||||
-rw-r--r-- | opengl/libs/GLES_CM/gl.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/opengl/libs/GLES2/gl2.cpp b/opengl/libs/GLES2/gl2.cpp index b8e3283..924737e 100644 --- a/opengl/libs/GLES2/gl2.cpp +++ b/opengl/libs/GLES2/gl2.cpp @@ -114,6 +114,6 @@ void glEGLImageTargetRenderbufferStorageOES(GLenum target, GLeglImageOES image) { GLeglImageOES implImage = (GLeglImageOES)egl_get_image_for_current_context((EGLImageKHR)image); - __glEGLImageTargetRenderbufferStorageOES(target, image); + __glEGLImageTargetRenderbufferStorageOES(target, implImage); } diff --git a/opengl/libs/GLES_CM/gl.cpp b/opengl/libs/GLES_CM/gl.cpp index e7757a8..d71ff76 100644 --- a/opengl/libs/GLES_CM/gl.cpp +++ b/opengl/libs/GLES_CM/gl.cpp @@ -185,6 +185,6 @@ void glEGLImageTargetRenderbufferStorageOES(GLenum target, GLeglImageOES image) { GLeglImageOES implImage = (GLeglImageOES)egl_get_image_for_current_context((EGLImageKHR)image); - __glEGLImageTargetRenderbufferStorageOES(target, image); + __glEGLImageTargetRenderbufferStorageOES(target, implImage); } |