If configless_context is not supported, we pick one EGLConfig as the "base config" because we have just one GL context and different configs between the context and EGLSurfaces might not work. Until now, we did not actually make sure to pick the base config. If the base config matches the requirements, prefer it. Only if it doesn't match, go looking for another config. This should give better chances of success on systems where configless_context is not supported by relying less on eglChooseConfig(). Cc: Madhurkiran Harikrishnan <madhurkiran.harikrishnan@xilinx.com> Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>dev
parent
88e5fcb55a
commit
7ba4c515a3
Loading…
Reference in new issue