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

Commit 7278a129 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 6713 into donut

* changes:
  fix for [1969185] valgrind errors in new gl stuff
parents e288fff3 dacd7a33
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1103,7 +1103,7 @@ EGLBoolean eglChooseConfig( EGLDisplay dpy, const EGLint *attrib_list,
        // default value
        if (binarySearch<config_pair_t>(
                (config_pair_t const*)attrib_list,
                0, numAttributes,
                0, numAttributes-1,
                config_defaults[j].key) < 0)
        {
            for (int i=0 ; i<numConfigs ; i++) {
+1 −1
Original line number Diff line number Diff line
@@ -799,7 +799,7 @@ EGLBoolean eglChooseConfig( EGLDisplay dpy, const EGLint *attrib_list,
    EGLint patch_index = -1;
    GLint attr;
    size_t size = 0;
    while ((attr=attrib_list[size])) {
    while ((attr=attrib_list[size]) != EGL_NONE) {
        if (attr == EGL_CONFIG_ID)
            patch_index = size;
        size += 2;