Make wlr_renderer_scissor take normal coords instead of upside-down ones

This commit is contained in:
emersion 2018-04-12 19:38:33 -04:00
parent 8f4039d799
commit 1b802d9251
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
4 changed files with 17 additions and 9 deletions

View file

@ -38,6 +38,8 @@ struct wlr_gles2_renderer {
GLuint tex_rgbx;
GLuint tex_ext;
} shaders;
uint32_t viewport_width, viewport_height;
};
enum wlr_gles2_texture_type {