aboutsummaryrefslogtreecommitdiff
path: root/include/render
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-02-16 19:20:00 +0100
committerSimon Ser <contact@emersion.fr>2021-02-23 16:09:26 +0100
commitddfee63055d53b975039e768cdb5ee3ea92ab5ab (patch)
tree0679d0b6a24a411437b58dbc2250c46483f5b7af /include/render
parent549435aee52164b925716283ce38597de85bc2bf (diff)
render: use DRM formats in wlr_renderer_get_shm_texture_formats
Diffstat (limited to 'include/render')
-rw-r--r--include/render/gles2.h2
1 files changed, 1 insertions, 1 deletions
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);