aboutsummaryrefslogtreecommitdiff
path: root/render/egl.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-06-24 12:10:12 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-06-24 13:53:05 -0400
commita2419eb4ea06d92eef8b6196e27a7de1b57e51e6 (patch)
tree2e3e3200be82740f5c1bdafc05f5f03514f0dd3a /render/egl.c
parentb69db15da6bbd0f110540a164c01aa6b6620953b (diff)
render/egl: make most functions private
The wlr_egl functions are mostly used internally by the GLES2 renderer. Let's reduce our API surface a bit by hiding them. If there are good use-cases for one of these, we can always make them public again. The functions mutating the current EGL context are not made private because e.g. Wayfire uses them.
Diffstat (limited to 'render/egl.c')
-rw-r--r--render/egl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/render/egl.c b/render/egl.c
index 616b3c6b..7f88880c 100644
--- a/render/egl.c
+++ b/render/egl.c
@@ -10,6 +10,7 @@
#include <wlr/util/log.h>
#include <wlr/util/region.h>
#include <xf86drm.h>
+#include "render/egl.h"
static enum wlr_log_importance egl_log_importance_to_wlr(EGLint type) {
switch (type) {