Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backend/egl: refactor eglChooseConfig's attrib_list
* the default value of EGL_SURFACE_TYPE is EGL_WINDOW_BIT so let's remove it; * since we're not using the stencil buffer let's set the EGL_STENCIL_SIZE attribute to 0 to match the glXChooseFBConfig's attrib_list and avoid getting frame buffer configurations with stencil buffer; * the default value of EGL_STENCIL_SIZE is 0 so let's remove it; * since attributes are described in the alphabetical order in the eglChooseConfig function specification, which is not very practical, let's mimic the order they're sorted in in glXChooseFBConfig's attrib_list. references: https://registry.khronos.org/EGL/sdk/docs/man/html/eglChooseConfig.xhtml
- Loading branch information