From a5d4ad3d52df777841108860a9cae61ea7407f21 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Mon, 29 Mar 2010 15:12:19 -0700 Subject: Fix Android's glEGLImageTargetRenderbufferOES() wrapper glEGLImageTargetRenderbufferOES() pass the wrapped EGLImage to the implementation, rather than the unwrapped one. Change-Id: I149f9ed73e6ab9089110600e1db4311ba7a8c83a --- opengl/libs/GLES2/gl2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opengl/libs/GLES2/gl2.cpp') 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); } -- cgit v1.1