aboutsummaryrefslogtreecommitdiff
path: root/include/render.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-06-08 12:02:51 -0400
committerDrew DeVault <sir@cmpwn.com>2017-06-08 12:02:51 -0400
commit83f8864f0ab1722aae12cc744094a7424c41f2d8 (patch)
treeab9fdff6a4c528f3ace607db76911fa805c0822a /include/render.h
parent211488131f675b3f3c59607fb1336b69148023d2 (diff)
Add wlr_renderer and move quad rendering there
Diffstat (limited to 'include/render.h')
-rw-r--r--include/render.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/render.h b/include/render.h
index fd1ea024..0f977eb0 100644
--- a/include/render.h
+++ b/include/render.h
@@ -6,7 +6,8 @@
#include <GLES3/gl3.h>
#include <stdbool.h>
-struct wlr_texture {
+struct wlr_surface {
+ bool valid;
GLuint tex_id;
uint32_t format;
int width, height;
@@ -17,7 +18,7 @@ struct wlr_shader {
uint32_t format;
GLuint vert;
GLuint program;
- struct wl_list link;
+ struct wlr_shader *next;
};
struct wlr_renderer {