diff options
author | emersion <contact@emersion.fr> | 2018-04-12 19:38:33 -0400 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-04-12 19:38:33 -0400 |
commit | 1b802d92511dad4edcb6d1a0f3506a7646fe714b (patch) | |
tree | 95aa4f16e126454b41f73187fd264f569e559c39 /include | |
parent | 8f4039d799bc76612d2e440216cb9cb5242e2382 (diff) |
Make wlr_renderer_scissor take normal coords instead of upside-down ones
Diffstat (limited to 'include')
-rw-r--r-- | include/render/gles2.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 { |