diff options
author | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-01-13 22:49:07 -0500 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-01-16 08:57:42 +0100 |
commit | e128e6c08dc0a735b1a8c6cc61097eaf0f61fb83 (patch) | |
tree | faa2b6327b407f91786a823cdc83c3b1d797ed35 /include/wlr/render/wlr_renderer.h | |
parent | affc59454ec9b650cc345ab5ec0c310e8350427f (diff) |
render: drop egl parameters from wlr_renderer_autocreate
Diffstat (limited to 'include/wlr/render/wlr_renderer.h')
-rw-r--r-- | include/wlr/render/wlr_renderer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/wlr/render/wlr_renderer.h b/include/wlr/render/wlr_renderer.h index c736722a..1b2c3d6e 100644 --- a/include/wlr/render/wlr_renderer.h +++ b/include/wlr/render/wlr_renderer.h @@ -11,6 +11,7 @@ #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> @@ -33,8 +34,7 @@ struct wlr_renderer { } events; }; -struct wlr_renderer *wlr_renderer_autocreate(EGLenum platform, - void *remote_display); +struct wlr_renderer *wlr_renderer_autocreate(struct wlr_backend *backend); void wlr_renderer_begin(struct wlr_renderer *r, uint32_t width, uint32_t height); void wlr_renderer_end(struct wlr_renderer *r); |