mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Split eglSwapBuffersWithDamage feature detection
Detecting whether eglSwapBuffersWithDamageEXT or eglSwapBuffersWithDamageKHR is used should be based on the extension string, not only on the availability of the function.
This commit is contained in:
parent
9179b438a5
commit
5ec6d8230d
2 changed files with 6 additions and 4 deletions
|
|
@ -22,6 +22,7 @@ struct wlr_egl {
|
|||
bool dmabuf_import;
|
||||
bool image_base;
|
||||
bool swap_buffers_with_damage;
|
||||
bool swap_buffers_with_damage_khr;
|
||||
} exts;
|
||||
|
||||
struct wl_display *wl_display;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue