From 06f4c3945dfcdb108e480961d9d76cdb75c9912c Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 27 Apr 2020 12:45:21 +0200 Subject: 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. --- include/render/gles2.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/render') 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; -- cgit v1.2.3