summaryrefslogtreecommitdiffstats
path: root/opengl/libagl
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2009-11-08 17:03:30 -0800
committerJean-Baptiste Queru <jbq@google.com>2009-11-08 17:03:30 -0800
commit143b2a789c4e4c3a4670eba7a1993d03b218f68e (patch)
tree3010076f4c093e4c4e24ed7161c06a84bdc21476 /opengl/libagl
parente7974237b7f40df932a427618e91ad5779b9d5a0 (diff)
parent5a1890d4c14fb9bd953d8110a29f001cbfea1e0f (diff)
downloadframeworks_native-143b2a789c4e4c3a4670eba7a1993d03b218f68e.zip
frameworks_native-143b2a789c4e4c3a4670eba7a1993d03b218f68e.tar.gz
frameworks_native-143b2a789c4e4c3a4670eba7a1993d03b218f68e.tar.bz2
merge from open-source master
Diffstat (limited to 'opengl/libagl')
-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) {