summaryrefslogtreecommitdiff
path: root/opengl/libagl/egl.cpp
diff options
context:
space:
mode:
author Jean-Baptiste Queru <jbq@google.com> 2009-11-09 11:00:18 -0800
committer Jean-Baptiste Queru <jbq@google.com> 2009-11-09 11:00:18 -0800
commitff230a51f53a2c4878c4e126c1625df68af14089 (patch)
tree38bb7723a160f55406b317d11afc9a1a210c15fb /opengl/libagl/egl.cpp
parent98a01fd467ad96a80d10cc3bf3b2e571419b908c (diff)
parent5a1890d4c14fb9bd953d8110a29f001cbfea1e0f (diff)
merge from open-source master
Diffstat (limited to 'opengl/libagl/egl.cpp')
-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 673c174ef4..8cfa084bbf 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) {