render/egl: consistent extension checking

This commit is contained in:
emersion 2018-06-05 09:59:26 +01:00
parent cbfe0e834a
commit d425edc96c
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 26 additions and 12 deletions

View file

@ -16,12 +16,13 @@ struct wlr_egl {
const char *exts_str;
struct {
bool buffer_age;
bool swap_buffers_with_damage;
bool dmabuf_import;
bool dmabuf_import_modifiers;
bool bind_wayland_display;
bool buffer_age;
bool context_priority;
bool dmabuf_import_modifiers;
bool dmabuf_import;
bool image_base;
bool swap_buffers_with_damage;
} egl_exts;
struct wl_display *wl_display;