Skip to content

renderer/native: Choose first EGL config for non-GBM backends

Commit 712ec30c added the logic to only choose EGL configs that match the GBM_FORMAT_XRGB8888 pixel format. However, there won't be any EGL config satisfying such criteria for non-GBM backends, such as EGLStreams.

This change will let us choose the first EGL config for non-GBM backends, while still forcing GBM_FORMAT_XRGB8888 configs for the GBM one.

Related to: #2 (closed)

Reviewers: @jadahl

Edited by Miguel A Vico Moya

Merge request reports