From 1b802d92511dad4edcb6d1a0f3506a7646fe714b Mon Sep 17 00:00:00 2001 From: emersion Date: Thu, 12 Apr 2018 19:38:33 -0400 Subject: Make wlr_renderer_scissor take normal coords instead of upside-down ones --- include/render/gles2.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/render/gles2.h') diff --git a/include/render/gles2.h b/include/render/gles2.h index 50252027..792f1b40 100644 --- a/include/render/gles2.h +++ b/include/render/gles2.h @@ -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 { -- cgit v1.2.3