summaryrefslogtreecommitdiffstats
path: root/opengl
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
commitbcd20496e0d976ac73c6949f931fc41577e9449c (patch)
tree5f39ff5d9fb4cfaa422880550059c3f7eee55246 /opengl
parentd68c2f0d03e1a4ea502091289e16b8fe0ec1421f (diff)
parent4d88cbd98e3398e9f8db48c4a054fba467a242ba (diff)
downloadframeworks_base-bcd20496e0d976ac73c6949f931fc41577e9449c.zip
frameworks_base-bcd20496e0d976ac73c6949f931fc41577e9449c.tar.gz
frameworks_base-bcd20496e0d976ac73c6949f931fc41577e9449c.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) {