summaryrefslogtreecommitdiffstats
path: root/opengl
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2009-11-09 11:00:18 -0800
committerJean-Baptiste Queru <jbq@google.com>2009-11-09 11:00:18 -0800
commitff230a51f53a2c4878c4e126c1625df68af14089 (patch)
tree38bb7723a160f55406b317d11afc9a1a210c15fb /opengl
parent98a01fd467ad96a80d10cc3bf3b2e571419b908c (diff)
parent5a1890d4c14fb9bd953d8110a29f001cbfea1e0f (diff)
downloadframeworks_native-ff230a51f53a2c4878c4e126c1625df68af14089.zip
frameworks_native-ff230a51f53a2c4878c4e126c1625df68af14089.tar.gz
frameworks_native-ff230a51f53a2c4878c4e126c1625df68af14089.tar.bz2
merge from open-source master
Diffstat (limited to 'opengl')
-rw-r--r--opengl/libagl/egl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libagl/egl.cpp b/opengl/libagl/egl.cpp
index 673c174..8cfa084 100644
--- a/opengl/libagl/egl.cpp
+++ b/opengl/libagl/egl.cpp
@@ -1205,7 +1205,7 @@ static int isAttributeMatching(int i, EGLint attr, EGLint val)
gConfigManagement,
0, NELEM(gConfigManagement)-1,
attr);
- if (index >= 0) {
+ if (cfgMgtIndex >= 0) {
bool match = gConfigManagement[cfgMgtIndex].match(
val, configFound[index].value);
if (match) {