summaryrefslogtreecommitdiffstats
path: root/opengl/libagl
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
commitac94fbd081450ae7f208e4525b23b36d90d382e0 (patch)
tree2996378268ba732d6b70249d63965913c92c0c05 /opengl/libagl
parentf7dec4a7986c8d4034d9b029b315bfef4f73158e (diff)
parent4d88cbd98e3398e9f8db48c4a054fba467a242ba (diff)
downloadframeworks_base-ac94fbd081450ae7f208e4525b23b36d90d382e0.zip
frameworks_base-ac94fbd081450ae7f208e4525b23b36d90d382e0.tar.gz
frameworks_base-ac94fbd081450ae7f208e4525b23b36d90d382e0.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) {