Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 825a9a2d authored by Romain Guy's avatar Romain Guy Committed by Android (Google) Code Review
Browse files

Merge "Update comments to reflect what the code actually does" into jb-mr1-dev

parents db9b41fd be3c3e4e
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -213,12 +213,12 @@ EGLBoolean eglChooseConfig( EGLDisplay dpy, const EGLint *attrib_list,
                EGLint attrib = attrib_list[0];
                EGLint attrib = attrib_list[0];


                // Only enable MSAA if the context is OpenGL ES 2.0 and
                // 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 *attribRendererable = NULL;
                const EGLint *attribCaveat = NULL;
                const EGLint *attribCaveat = NULL;


                // Count the number of attributes and look for
                // 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) {
                while (attrib != EGL_NONE) {
                    attrib = attrib_list[attribCount];
                    attrib = attrib_list[attribCount];
                    switch (attrib) {
                    switch (attrib) {