summaryrefslogtreecommitdiffstats
path: root/opengl
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2012-10-16 09:50:35 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-10-16 09:50:35 -0700
commit4d0aec67c4423404a3d82793e5771230426521cc (patch)
tree1c2d7caf0e0cccc1544e128d243de886e2285a39 /opengl
parente7f167bffa4cee413e43cf7d5148f18521c6538f (diff)
parent23bcd8d298597659622919027c9ea921d5eed513 (diff)
downloadframeworks_native-4d0aec67c4423404a3d82793e5771230426521cc.zip
frameworks_native-4d0aec67c4423404a3d82793e5771230426521cc.tar.gz
frameworks_native-4d0aec67c4423404a3d82793e5771230426521cc.tar.bz2
am 23bcd8d2: am 825a9a2d: Merge "Update comments to reflect what the code actually does" into jb-mr1-dev
* commit '23bcd8d298597659622919027c9ea921d5eed513': Update comments to reflect what the code actually does
Diffstat (limited to 'opengl')
-rw-r--r--opengl/libs/EGL/eglApi.cpp4
1 files changed, 2 insertions, 2 deletions
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 @@ EGLBoolean eglChooseConfig( EGLDisplay dpy, const EGLint *attrib_list,
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) {