From 907c9d1ffda894af460e92edbd96fd5371d20304 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Wed, 19 Jan 2022 03:00:10 +0000 Subject: [PATCH] gl-renderer: Clarify comment Signed-off-by: Daniel Stone --- libweston/renderer-gl/gl-renderer.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libweston/renderer-gl/gl-renderer.c b/libweston/renderer-gl/gl-renderer.c index ef67e059..3d67b420 100644 --- a/libweston/renderer-gl/gl-renderer.c +++ b/libweston/renderer-gl/gl-renderer.c @@ -174,9 +174,7 @@ struct gl_buffer_state { bool needs_full_upload; pixman_region32_t texture_damage; - /* These are only used by SHM surfaces to detect when we need - * to do a full upload to specify a new internal texture - * format */ + /* Only needed between attach() and flush_damage() */ GLenum gl_format[3]; GLenum gl_pixel_type;