Replace a direct call to egl_choose_config() with a higher level function gl_renderer_get_egl_config(). This will make follow-up work easier when attribute lists will be generated inside gl_renderer_get_egl_config() instead of passed in as is. We explicitly replace visual_id with drm_formats, because that is what they really are. Only the DRM backend passes in other than NULL/0, and if other backends start caring about the actual pixel format, drm_format is the lingua franca. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>dev
parent
8e42af02a6
commit
d8e851899a
Loading…
Reference in new issue