From 7c5fe4c4f6ad9f5bad5aa7d7dce6122a3124b87d Mon Sep 17 00:00:00 2001 From: Jack Palevich Date: Fri, 12 Mar 2010 17:11:34 -0800 Subject: Fix glCopyTexSubImage2D inverted texture bug. This bug only affects the software OpenGL ES driver. --- opengl/libagl/texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opengl/libagl/texture.cpp') diff --git a/opengl/libagl/texture.cpp b/opengl/libagl/texture.cpp index fa25fa92f0..9407bd5530 100644 --- a/opengl/libagl/texture.cpp +++ b/opengl/libagl/texture.cpp @@ -1488,7 +1488,7 @@ void glCopyTexSubImage2D( height = cbSurface.height - y; int err = copyPixels(c, - surface, xoffset, yoffset, + txSurface, xoffset, yoffset, cbSurface, x, y, width, height); if (err) { ogles_error(c, err); -- cgit v1.2.3-59-g8ed1b