aboutsummaryrefslogtreecommitdiff
path: root/include/render
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-04-27 12:45:21 +0200
committerDrew DeVault <sir@cmpwn.com>2020-04-28 21:45:14 +0200
commit06f4c3945dfcdb108e480961d9d76cdb75c9912c (patch)
tree4b6bfcd7f3665819f7bd29e7989245e836b83608 /include/render
parent21397e2b4a86443dde31ba36cf4f6b7fbb1b662c (diff)
render/texture: add width and height fields
Instead of requiring compositors to call wlr_texture_get_size each time they want to access the texture's size, expose this information as wlr_texture fields.
Diffstat (limited to 'include/render')
-rw-r--r--include/render/gles2.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/render/gles2.h b/include/render/gles2.h
index 858960d5..d9ddfe6c 100644
--- a/include/render/gles2.h
+++ b/include/render/gles2.h
@@ -82,7 +82,6 @@ struct wlr_gles2_texture {
EGLImageKHR image;
- int width, height;
bool inverted_y;
bool has_alpha;