aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2021-01-15 17:33:26 -0500
committerSimon Ser <contact@emersion.fr>2021-01-16 08:57:42 +0100
commit08a4c62aac9d9771197018a155a9d80d6f93d764 (patch)
tree4537307baad5f91c67b88f2e8c7d32b81a39752c
parente128e6c08dc0a735b1a8c6cc61097eaf0f61fb83 (diff)
render: remove egl include from wlr_renderer
-rw-r--r--backend/drm/renderer.c1
-rw-r--r--backend/headless/output.c1
-rw-r--r--backend/wayland/output.c1
-rw-r--r--backend/x11/output.c1
-rw-r--r--include/wlr/render/wlr_renderer.h1
5 files changed, 4 insertions, 1 deletions
diff --git a/backend/drm/renderer.c b/backend/drm/renderer.c
index 783fec74..5f3fa9b6 100644
--- a/backend/drm/renderer.c
+++ b/backend/drm/renderer.c
@@ -8,6 +8,7 @@
#include <string.h>
#include <unistd.h>
#include <wayland-util.h>
+#include <wlr/render/egl.h>
#include <wlr/render/gles2.h>
#include <wlr/render/wlr_renderer.h>
#include <wlr/types/wlr_matrix.h>
diff --git a/backend/headless/output.c b/backend/headless/output.c
index 0ffdee79..65727200 100644
--- a/backend/headless/output.c
+++ b/backend/headless/output.c
@@ -2,6 +2,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <wlr/interfaces/wlr_output.h>
+#include <wlr/render/egl.h>
#include <wlr/render/gles2.h>
#include <wlr/render/wlr_renderer.h>
#include <wlr/util/log.h>
diff --git a/backend/wayland/output.c b/backend/wayland/output.c
index 3abf2b5e..6b47d0cb 100644
--- a/backend/wayland/output.c
+++ b/backend/wayland/output.c
@@ -10,6 +10,7 @@
#include <wayland-client.h>
#include <wlr/interfaces/wlr_output.h>
+#include <wlr/render/egl.h>
#include <wlr/render/gles2.h>
#include <wlr/render/wlr_renderer.h>
#include <wlr/types/wlr_matrix.h>
diff --git a/backend/x11/output.c b/backend/x11/output.c
index 11dda67d..24b9c599 100644
--- a/backend/x11/output.c
+++ b/backend/x11/output.c
@@ -13,6 +13,7 @@
#include <wlr/interfaces/wlr_output.h>
#include <wlr/interfaces/wlr_pointer.h>
#include <wlr/interfaces/wlr_touch.h>
+#include <wlr/render/egl.h>
#include <wlr/render/gles2.h>
#include <wlr/util/log.h>
diff --git a/include/wlr/render/wlr_renderer.h b/include/wlr/render/wlr_renderer.h
index 1b2c3d6e..575079a0 100644
--- a/include/wlr/render/wlr_renderer.h
+++ b/include/wlr/render/wlr_renderer.h
@@ -12,7 +12,6 @@
#include <stdint.h>
#include <wayland-server-protocol.h>
#include <wlr/backend.h>
-#include <wlr/render/egl.h>
#include <wlr/render/wlr_texture.h>
#include <wlr/types/wlr_box.h>