render: Flip textures in case of inverted_y

This commit is contained in:
Guido Günther 2018-03-07 15:41:12 +01:00
parent 6c7e1c867c
commit 2d0db16942
4 changed files with 10 additions and 2 deletions

View file

@ -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;
};