summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authorzmo@google.com <zmo@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-14 23:00:22 +0000
committerzmo@google.com <zmo@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-14 23:00:22 +0000
commit6c93e3656f1d01e24908c8c8cd07e6c2d53bb05c (patch)
tree3022e573e50db0a05c6d406f656ca0b39258d223 /gpu
parent31a7db4871ba0c206849b9bb8ac2efd119d7320d (diff)
downloadchromium_src-6c93e3656f1d01e24908c8c8cd07e6c2d53bb05c.zip
chromium_src-6c93e3656f1d01e24908c8c8cd07e6c2d53bb05c.tar.gz
chromium_src-6c93e3656f1d01e24908c8c8cd07e6c2d53bb05c.tar.bz2
Fix a regression in command buffer TexSubImage2D.
BUG=79507 TEST=none TBR=gman@google.com Review URL: http://codereview.chromium.org/6858003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81665 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r--gpu/command_buffer/client/gles2_implementation.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc
index c482d39..7aae38e 100644
--- a/gpu/command_buffer/client/gles2_implementation.cc
+++ b/gpu/command_buffer/client/gles2_implementation.cc
@@ -995,7 +995,8 @@ void GLES2Implementation::TexSubImage2D(
GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width,
GLsizei height, GLenum format, GLenum type, const void* pixels) {
TexSubImage2DImpl(
- target, level, 0, 0, width, height, format, type, pixels, GL_FALSE);
+ target, level, xoffset, yoffset, width, height, format, type, pixels,
+ GL_FALSE);
}
void GLES2Implementation::TexSubImage2DImpl(