render/gles2: Don't track has_alpha in pixel_format

Why track the alpha here when we can already get that information
elsewhere?
This commit is contained in:
Alexander Orzechowski 2023-06-23 17:24:38 -04:00 committed by Simon Ser
parent ae3d7a697c
commit 9118226634
3 changed files with 13 additions and 22 deletions

View file

@ -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 {