From ee1156b62b74303b47eb86d71379d57a98e29035 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 11 Aug 2021 10:00:50 +0200 Subject: render/gles2: make wlr_gles2_buffer an addon Saves us from walking a list. --- include/render/gles2.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/render') diff --git a/include/render/gles2.h b/include/render/gles2.h index cc5a2808..84e8f0ce 100644 --- a/include/render/gles2.h +++ b/include/render/gles2.h @@ -12,6 +12,7 @@ #include #include #include +#include #include struct wlr_gles2_pixel_format { @@ -84,7 +85,7 @@ struct wlr_gles2_buffer { GLuint rbo; GLuint fbo; - struct wl_listener buffer_destroy; + struct wlr_addon addon; }; struct wlr_gles2_texture { -- cgit v1.2.3