diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-13 09:32:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-13 09:32:41 -0400 |
commit | 63763d327969a17af43ccaf8fe4c6da941f8efcb (patch) | |
tree | 719a97d6bc8c35803091a11a8c7c9adb44d83a9c /include | |
parent | bcf5da5cd7ea61679309c871e52468b335f57cb5 (diff) | |
parent | 1b802d92511dad4edcb6d1a0f3506a7646fe714b (diff) |
Merge pull request #862 from emersion/renderer-scissor-upside-down
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 { |