aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/render/gles2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/render/gles2.h b/include/render/gles2.h
index be9a5a7d..450235f0 100644
--- a/include/render/gles2.h
+++ b/include/render/gles2.h
@@ -67,6 +67,7 @@ struct wlr_gles2_renderer {
} shaders;
struct wl_list buffers; // wlr_gles2_buffer.link
+ struct wl_list textures; // wlr_gles2_texture.link
struct wlr_gles2_buffer *current_buffer;
uint32_t viewport_width, viewport_height;
@@ -87,6 +88,7 @@ struct wlr_gles2_buffer {
struct wlr_gles2_texture {
struct wlr_texture wlr_texture;
struct wlr_gles2_renderer *renderer;
+ struct wl_list link; // wlr_gles2_renderer.textures
// Basically:
// GL_TEXTURE_2D == mutable