aboutsummaryrefslogtreecommitdiff
path: root/render/gles2/texture.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/gles2/texture.c')
-rw-r--r--render/gles2/texture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/render/gles2/texture.c b/render/gles2/texture.c
index d32cd458..d035841e 100644
--- a/render/gles2/texture.c
+++ b/render/gles2/texture.c
@@ -55,8 +55,8 @@ static bool gles2_texture_write_pixels(struct wlr_texture *wlr_texture,
return false;
}
- const struct wlr_gles2_pixel_format *fmt = get_gles2_format_from_wl(
- texture->wl_format);
+ const struct wlr_gles2_pixel_format *fmt =
+ get_gles2_format_from_wl(texture->wl_format);
assert(fmt);
// TODO: what if the unpack subimage extension isn't supported?