aboutsummaryrefslogtreecommitdiff
path: root/include/render
diff options
context:
space:
mode:
authornyorain <nyorain@gmail.com>2018-10-15 23:56:56 +0200
committernyorain <nyorain@gmail.com>2018-10-15 23:56:56 +0200
commitcd28637187149a0f90429e63408bacd98033e59f (patch)
treef2409377901db23d677f254ecf6d77f871051016 /include/render
parent8beeb88309d87474e1b4e8eadcf245a24f04b2d0 (diff)
downloadwlroots-cd28637187149a0f90429e63408bacd98033e59f.tar.xz
Remove fmt parameter from wlr_texture_write_pixels
It's not allowed to change the format of a texture so remove the confusing parameter.
Diffstat (limited to 'include/render')
-rw-r--r--include/render/gles2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/render/gles2.h b/include/render/gles2.h
index f649f3e2..04a73e27 100644
--- a/include/render/gles2.h
+++ b/include/render/gles2.h
@@ -72,6 +72,7 @@ struct wlr_gles2_texture {
enum wlr_gles2_texture_type type;
int width, height;
bool has_alpha;
+ uint32_t wl_format; // used to interpret upload data
bool inverted_y;
// Not set if WLR_GLES2_TEXTURE_GLTEX