From 27fba3df4347df65fbb8b0781ae407e410ef458b Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 16 Feb 2021 19:41:40 +0100 Subject: render: use DRM formats in wlr_texture_from_pixels --- include/render/gles2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/render') diff --git a/include/render/gles2.h b/include/render/gles2.h index 7072a278..c152b944 100644 --- a/include/render/gles2.h +++ b/include/render/gles2.h @@ -121,7 +121,7 @@ struct wlr_gles2_texture *gles2_get_texture( struct wlr_texture *wlr_texture); struct wlr_texture *gles2_texture_from_pixels(struct wlr_renderer *wlr_renderer, - enum wl_shm_format wl_fmt, uint32_t stride, uint32_t width, uint32_t height, + uint32_t fmt, uint32_t stride, uint32_t width, uint32_t height, const void *data); struct wlr_texture *gles2_texture_from_wl_drm(struct wlr_renderer *wlr_renderer, struct wl_resource *data); -- cgit v1.2.3