diff options
author | Simon Ser <contact@emersion.fr> | 2019-12-20 16:46:59 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-12-21 08:54:24 -0500 |
commit | 01818ad2c8c6b6bf3f77955775ccd5b1cffa0b29 (patch) | |
tree | e92c31f8e217d3813f7bdc1a2bc9fbf40e080162 /xcursor/xcursor.c | |
parent | 35bc3e662a34fe92a3de4e3768dc976f8ac2c242 (diff) |
render: fix EGL extensions not loaded
Some extensions are only advertised by the EGL implementation with a
non-zero EGLDisplay. That's the case when the extension can only be
enabled when the hardware/driver supports it for instance.
Instead of checking for all extensions without a display, check only for
EGL_EXT_platform_base and EGL_KHR_debug which are used before
eglGetDisplay. Check for all other extensions when we have a display.
Closes: https://github.com/swaywm/wlroots/issues/1955
Diffstat (limited to 'xcursor/xcursor.c')
0 files changed, 0 insertions, 0 deletions