am 84207956: Merge "SDK doc change: Misc small fixes." into eclair
Merge commit '8420795633443221627eb872aea8f2862a38f8b1' into eclair-plus-aosp
* commit '8420795633443221627eb872aea8f2862a38f8b1':
SDK doc change: Misc small fixes.
diff --git a/opengl/libagl/egl.cpp b/opengl/libagl/egl.cpp
index 781b8c3..81864bd 100644
--- a/opengl/libagl/egl.cpp
+++ b/opengl/libagl/egl.cpp
@@ -1205,7 +1205,7 @@
gConfigManagement,
0, NELEM(gConfigManagement)-1,
attr);
- if (index >= 0) {
+ if (cfgMgtIndex >= 0) {
bool match = gConfigManagement[cfgMgtIndex].match(
val, configFound[index].value);
if (match) {