aboutsummaryrefslogtreecommitdiff
path: root/include/render
diff options
context:
space:
mode:
Diffstat (limited to 'include/render')
-rw-r--r--include/render/gles2.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/render/gles2.h b/include/render/gles2.h
index 57e162c0..0e71d764 100644
--- a/include/render/gles2.h
+++ b/include/render/gles2.h
@@ -10,6 +10,7 @@
#include <wlr/egl.h>
#include <wlr/backend.h>
#include <wlr/render.h>
+#include <wlr/render/interface.h>
#include <wlr/util/log.h>
extern PFNGLEGLIMAGETARGETTEXTURE2DOESPROC glEGLImageTargetTexture2DOES;
@@ -21,8 +22,9 @@ struct pixel_format {
GLuint *shader;
};
-struct wlr_renderer_state {
- struct wlr_renderer *renderer;
+struct wlr_gles2_renderer {
+ struct wlr_renderer wlr_renderer;
+
struct wlr_egl *egl;
};