am 825a9a2d: Merge "Update comments to reflect what the code actually does" into jb-mr1-dev
* commit '825a9a2dcd1b3e139dd0677ff46f966fb23f963c':
Update comments to reflect what the code actually does
diff --git a/opengl/libs/EGL/eglApi.cpp b/opengl/libs/EGL/eglApi.cpp
index f4d73e2..4e44941 100644
--- a/opengl/libs/EGL/eglApi.cpp
+++ b/opengl/libs/EGL/eglApi.cpp
@@ -213,12 +213,12 @@
EGLint attrib = attrib_list[0];
// Only enable MSAA if the context is OpenGL ES 2.0 and
- // if a depth buffer is requested
+ // if no caveat is requested
const EGLint *attribRendererable = NULL;
const EGLint *attribCaveat = NULL;
// Count the number of attributes and look for
- // EGL_RENDERABLE_TYPE and ELG_DEPTH_SIZE
+ // EGL_RENDERABLE_TYPE and EGL_CONFIG_CAVEAT
while (attrib != EGL_NONE) {
attrib = attrib_list[attribCount];
switch (attrib) {