aboutsummaryrefslogtreecommitdiff
path: root/include/render
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-08-14 08:37:50 -0400
committerDrew DeVault <sir@cmpwn.com>2017-08-14 08:37:50 -0400
commitde6f32c84e222861c6fed27acab99c568cd6fd66 (patch)
tree6a6ff388e89d5441df4fcbbefee3d8e9b7b8b31f /include/render
parent0de5eed048202f3d05d7300223e9181c585333dd (diff)
Refactor away wlr_renderer_state
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;
};