diff options
author | 2010-05-12 11:58:14 -0700 | |
---|---|---|
committer | 2010-05-12 11:58:14 -0700 | |
commit | c77a20a9d6ab56e79276215d8d1492a9893c9b59 (patch) | |
tree | 0c75cf08ccf4f9a5bf115f461764ad241a0c0988 /opengl/libagl/texture.cpp | |
parent | cd406480fa569ced379232d85efc4742c1bcc8c0 (diff) | |
parent | 96fb6fb6a647004a6a11ba9ec3847047b9b4062b (diff) |
merge from open-source master
Change-Id: I022d0781a232396e2b8a67a420ecf50e64b87d8c
Diffstat (limited to 'opengl/libagl/texture.cpp')
-rw-r--r-- | opengl/libagl/texture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libagl/texture.cpp b/opengl/libagl/texture.cpp index 9407bd5530..d67612e681 100644 --- a/opengl/libagl/texture.cpp +++ b/opengl/libagl/texture.cpp @@ -1515,7 +1515,7 @@ void glReadPixels( ogles_error(c, GL_INVALID_VALUE); return; } - if (x<0 || x<0) { + if (x<0 || y<0) { ogles_error(c, GL_INVALID_VALUE); return; } |