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

Commit e92c713c authored by Mathias Agopian's avatar Mathias Agopian
Browse files

when looking for an EGLConfig always pick the first one that matches, not the last one

parent 6457359f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -164,6 +164,7 @@ void DisplayHardware::init(uint32_t dpy)
            eglGetConfigAttrib(display, configs[i], EGL_ALPHA_SIZE, &a);
            if (fbSzA == a && fbSzR == r && fbSzG == g && fbSzB  == b) {
                config = configs[i];
                break;
            }
        }
    }