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
commit3e5a5826c65044edc813bd6d3cff6a43db28d74e (patch)
treec1c27ea98bf528473ec972c4c720ee1ee563c0d3 /opengl/libagl
parent50f1c4b7093dd0e319ed16917446ed9f39f2d809 (diff)
downloadframeworks_base-3e5a5826c65044edc813bd6d3cff6a43db28d74e.zip
frameworks_base-3e5a5826c65044edc813bd6d3cff6a43db28d74e.tar.gz
frameworks_base-3e5a5826c65044edc813bd6d3cff6a43db28d74e.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);