render/egl: make wlr_egl hold a wlr_egl_context

This commit is contained in:
Simon Zeni 2021-09-21 13:17:02 -04:00
parent 7ff1664030
commit 95928cec72
2 changed files with 33 additions and 40 deletions

View file

@ -5,8 +5,7 @@
#include <wlr/render/egl.h>
struct wlr_egl {
EGLDisplay display;
EGLContext context;
struct wlr_egl_context ctx;
EGLDeviceEXT device; // may be EGL_NO_DEVICE_EXT
struct gbm_device *gbm_device;