diff options
author | Simon Ser <contact@emersion.fr> | 2021-06-24 12:10:12 +0200 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-06-24 13:53:05 -0400 |
commit | a2419eb4ea06d92eef8b6196e27a7de1b57e51e6 (patch) | |
tree | 2e3e3200be82740f5c1bdafc05f5f03514f0dd3a /render/gles2/renderer.c | |
parent | b69db15da6bbd0f110540a164c01aa6b6620953b (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/gles2/renderer.c')
-rw-r--r-- | render/gles2/renderer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/render/gles2/renderer.c b/render/gles2/renderer.c index baf53c72..e0534749 100644 --- a/render/gles2/renderer.c +++ b/render/gles2/renderer.c @@ -15,6 +15,7 @@ #include <wlr/types/wlr_matrix.h> #include <wlr/types/wlr_linux_dmabuf_v1.h> #include <wlr/util/log.h> +#include "render/egl.h" #include "render/gles2.h" #include "render/pixel_format.h" #include "types/wlr_buffer.h" |