diff options
author | Simon Ser <contact@emersion.fr> | 2021-02-16 19:41:40 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-02-23 16:09:26 +0100 |
commit | 27fba3df4347df65fbb8b0781ae407e410ef458b (patch) | |
tree | 8bf0d47cb3370e4a77e331982a616c5c8fa128b4 /include/render/gles2.h | |
parent | b54ef3372d5c6f01b97b26cf449617122a628e8a (diff) |
render: use DRM formats in wlr_texture_from_pixels
Diffstat (limited to 'include/render/gles2.h')
-rw-r--r-- | include/render/gles2.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |