aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render.h
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2018-03-07 15:41:12 +0100
committerGuido Günther <agx@sigxcpu.org>2018-03-11 19:02:05 +0100
commit2d0db169422b74e5ef7c07965c376273c7bb2961 (patch)
tree7d54fbec55991134320b8dd552c84d8c8e54cbe9 /include/wlr/render.h
parent6c7e1c867caf5c9a7c1046273f22b01cda30f034 (diff)
render: Flip textures in case of inverted_y
Diffstat (limited to 'include/wlr/render.h')
-rw-r--r--include/wlr/render.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wlr/render.h b/include/wlr/render.h
index 747603da..77449556 100644
--- a/include/wlr/render.h
+++ b/include/wlr/render.h
@@ -85,6 +85,7 @@ struct wlr_texture {
bool valid;
uint32_t format;
int width, height;
+ bool inverted_y;
struct wl_signal destroy_signal;
struct wl_resource *resource;
};