diff options
author | Simon Ser <contact@emersion.fr> | 2020-06-10 14:18:04 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-06-10 14:55:29 +0200 |
commit | 7f9bbaaa17851ba7ee204fc4755ad509e06a9b07 (patch) | |
tree | 9a0e2f84308e479e53c4e860ff7241337304cd40 /xwayland/selection/incoming.c | |
parent | 79e03c7d456adaaa1b408b8c48a05ac051388770 (diff) |
render/egl: explicit client extension handling
Prior to this commit, wlr_egl_init seemed to assume the extension string
queried via EGL_NO_DISPLAY was a subset of the extension string queried
via an initialized display. This isn't correct.
EGL_EXT_client_extensions [1] defines two types of extensions: client
extensions and display extensions. The set of supported client and
display extensions are disjoint (ie. an extension is either a client or
a display extension, not both). Client extensions are queried via
EGL_NO_DISPLAY, display extensions are queried via an initialized
display.
Rename the variables to make this clear. Remove the misleading comment.
Log both client and display extensions.
[1]: https://www.khronos.org/registry/EGL/extensions/EXT/EGL_EXT_client_extensions.txt
Diffstat (limited to 'xwayland/selection/incoming.c')
0 files changed, 0 insertions, 0 deletions