From 91182266342587cf01b2e625dbf0682df149f3db Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Fri, 23 Jun 2023 17:24:38 -0400 Subject: render/gles2: Don't track has_alpha in pixel_format Why track the alpha here when we can already get that information elsewhere? --- include/render/gles2.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/render/gles2.h b/include/render/gles2.h index 930cf07d..83dabb7e 100644 --- a/include/render/gles2.h +++ b/include/render/gles2.h @@ -25,7 +25,6 @@ struct wlr_gles2_pixel_format { // optional field, if empty then internalformat = format GLint gl_internalformat; GLint gl_format, gl_type; - bool has_alpha; }; struct wlr_gles2_tex_shader { -- cgit v1.2.3