aboutsummaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-03-19 23:16:29 +0100
committeremersion <contact@emersion.fr>2018-03-19 23:16:29 +0100
commitc41de2d1be5c8e814e99e3a1859cdaa885b6042d (patch)
tree3e62b8364c57805bd7c5dbb5de4c8522339e3231 /render
parenta76cef475b6da9d4953e7b3503a35f01aa7c824e (diff)
render: split render.h into wlr_renderer.h and wlr_texture.h
Diffstat (limited to 'render')
-rw-r--r--render/gles2/renderer.c2
-rw-r--r--render/gles2/texture.c2
-rw-r--r--render/wlr_renderer.c1
-rw-r--r--render/wlr_texture.c1
4 files changed, 4 insertions, 2 deletions
diff --git a/render/gles2/renderer.c b/render/gles2/renderer.c
index 8d8dd17f..55797805 100644
--- a/render/gles2/renderer.c
+++ b/render/gles2/renderer.c
@@ -6,7 +6,7 @@
#include <wayland-server-protocol.h>
#include <wayland-util.h>
#include <wlr/backend.h>
-#include <wlr/render.h>
+#include <wlr/render/wlr_renderer.h>
#include <wlr/render/egl.h>
#include <wlr/render/interface.h>
#include <wlr/types/wlr_matrix.h>
diff --git a/render/gles2/texture.c b/render/gles2/texture.c
index fc94ead5..c5f79ba8 100644
--- a/render/gles2/texture.c
+++ b/render/gles2/texture.c
@@ -5,7 +5,7 @@
#include <stdlib.h>
#include <wayland-server-protocol.h>
#include <wayland-util.h>
-#include <wlr/render.h>
+#include <wlr/render/wlr_texture.h>
#include <wlr/render/egl.h>
#include <wlr/render/interface.h>
#include <wlr/types/wlr_matrix.h>
diff --git a/render/wlr_renderer.c b/render/wlr_renderer.c
index c4f91d5e..21a7901a 100644
--- a/render/wlr_renderer.c
+++ b/render/wlr_renderer.c
@@ -1,6 +1,7 @@
#include <stdbool.h>
#include <stdlib.h>
#include <wlr/render/interface.h>
+#include <wlr/render/wlr_renderer.h>
#include <wlr/types/wlr_matrix.h>
void wlr_renderer_init(struct wlr_renderer *renderer,
diff --git a/render/wlr_texture.c b/render/wlr_texture.c
index 48f76c8e..a5d0abde 100644
--- a/render/wlr_texture.c
+++ b/render/wlr_texture.c
@@ -1,6 +1,7 @@
#include <stdbool.h>
#include <stdlib.h>
#include <wlr/render/interface.h>
+#include <wlr/render/wlr_texture.h>
void wlr_texture_init(struct wlr_texture *texture,
struct wlr_texture_impl *impl) {