aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render/wlr_texture.h
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-02-16 19:41:40 +0100
committerSimon Ser <contact@emersion.fr>2021-02-23 16:09:26 +0100
commit27fba3df4347df65fbb8b0781ae407e410ef458b (patch)
tree8bf0d47cb3370e4a77e331982a616c5c8fa128b4 /include/wlr/render/wlr_texture.h
parentb54ef3372d5c6f01b97b26cf449617122a628e8a (diff)
render: use DRM formats in wlr_texture_from_pixels
Diffstat (limited to 'include/wlr/render/wlr_texture.h')
-rw-r--r--include/wlr/render/wlr_texture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/render/wlr_texture.h b/include/wlr/render/wlr_texture.h
index 3a4840ac..219d514a 100644
--- a/include/wlr/render/wlr_texture.h
+++ b/include/wlr/render/wlr_texture.h
@@ -29,7 +29,7 @@ struct wlr_texture {
* between attaching a renderer to an output and committing it.
*/
struct wlr_texture *wlr_texture_from_pixels(struct wlr_renderer *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);
/**