summaryrefslogtreecommitdiffstats
path: root/opengl/libagl
diff options
context:
space:
mode:
authorJack Palevich <jackpal@google.com>2010-03-12 17:11:34 -0800
committerJack Palevich <jackpal@google.com>2010-03-12 17:32:26 -0800
commit7c5fe4c4f6ad9f5bad5aa7d7dce6122a3124b87d (patch)
treec22d524a20003f92c5cafe9d62bf7c451fa1d4bb /opengl/libagl
parentad5067913055f28c0bfa37a5feb08b9167990f33 (diff)
downloadframeworks_native-7c5fe4c4f6ad9f5bad5aa7d7dce6122a3124b87d.zip
frameworks_native-7c5fe4c4f6ad9f5bad5aa7d7dce6122a3124b87d.tar.gz
frameworks_native-7c5fe4c4f6ad9f5bad5aa7d7dce6122a3124b87d.tar.bz2
Fix glCopyTexSubImage2D inverted texture bug.
This bug only affects the software OpenGL ES driver.
Diffstat (limited to 'opengl/libagl')
-rw-r--r--opengl/libagl/texture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libagl/texture.cpp b/opengl/libagl/texture.cpp
index fa25fa9..9407bd5 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);