From ddfee63055d53b975039e768cdb5ee3ea92ab5ab Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 16 Feb 2021 19:20:00 +0100 Subject: render: use DRM formats in wlr_renderer_get_shm_texture_formats --- 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 067bdd31..7072a278 100644 --- a/include/render/gles2.h +++ b/include/render/gles2.h @@ -113,7 +113,7 @@ struct wlr_gles2_texture { const struct wlr_gles2_pixel_format *get_gles2_format_from_drm(uint32_t fmt); const struct wlr_gles2_pixel_format *get_gles2_format_from_gl( GLint gl_format, GLint gl_type, bool alpha); -const enum wl_shm_format *get_gles2_wl_formats(size_t *len); +const uint32_t *get_gles2_shm_formats(size_t *len); struct wlr_gles2_renderer *gles2_get_renderer( struct wlr_renderer *wlr_renderer); -- cgit v1.2.3