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

Commit 56fa2757 authored by Mathias Agopian's avatar Mathias Agopian
Browse files

fix [2147737] Pixel Flinger needs to set EGL_RENDERABLE_TYPE to EGL_OPENGL_ES_BIT

Also set max swap interval to 1, which is the only supported value currently.
parent 737e786a
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -952,7 +952,8 @@ static config_pair_t const config_base_attribute_list[] = {
        { EGL_BIND_TO_TEXTURE_RGBA,       EGL_FALSE                         },
        { EGL_BIND_TO_TEXTURE_RGBA,       EGL_FALSE                         },
        { EGL_BIND_TO_TEXTURE_RGB,        EGL_FALSE                         },
        { EGL_BIND_TO_TEXTURE_RGB,        EGL_FALSE                         },
        { EGL_MIN_SWAP_INTERVAL,          1                                 },
        { EGL_MIN_SWAP_INTERVAL,          1                                 },
        { EGL_MAX_SWAP_INTERVAL,          4                                 },
        { EGL_MAX_SWAP_INTERVAL,          1                                 },
        { EGL_RENDERABLE_TYPE,            EGL_OPENGL_ES_BIT                 },
};
};


// These configs can override the base attribute list
// These configs can override the base attribute list