commit | 3e5a5826c65044edc813bd6d3cff6a43db28d74e | [log] [tgz] |
---|---|---|
author | Jack Palevich <jackpal@google.com> | Fri Mar 12 17:11:34 2010 -0800 |
committer | Jack Palevich <jackpal@google.com> | Fri Mar 12 17:32:26 2010 -0800 |
tree | c1c27ea98bf528473ec972c4c720ee1ee563c0d3 | |
parent | 50f1c4b7093dd0e319ed16917446ed9f39f2d809 [diff] [blame] |
Fix glCopyTexSubImage2D inverted texture bug. This bug only affects the software OpenGL ES driver.
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 @@ 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);