summaryrefslogtreecommitdiff
path: root/opengl/libagl/texture.cpp
diff options
context:
space:
mode:
author The Android Open Source Project <initial-contribution@android.com> 2010-05-12 11:58:14 -0700
committer The Android Open Source Project <initial-contribution@android.com> 2010-05-12 11:58:14 -0700
commitfb234bbe5e7cbae42b4fc8f4ab353ba561599db2 (patch)
treec5bd66bef1f7290ed41589b86cfb3cb8cca5efb5 /opengl/libagl/texture.cpp
parent68b37d14708414d3cee418024c178f0a3c7d8b5b (diff)
parentef2cf71420550fb45f89e67c56f338031f0adb63 (diff)
merge from open-source master
Change-Id: I022d0781a232396e2b8a67a420ecf50e64b87d8c
Diffstat (limited to 'opengl/libagl/texture.cpp')
-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 9407bd55305e..d67612e681a8 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;
}