From ce308286dffa56500ee8626b84884787c8ab9aac Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 2 Feb 2020 20:56:42 +0530 Subject: [PATCH] Dont need to bind blit vertex array as cells vertex array is already bound --- kitty/shaders.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kitty/shaders.c b/kitty/shaders.c index d2138b6d7..18b7cc023 100644 --- a/kitty/shaders.c +++ b/kitty/shaders.c @@ -444,7 +444,6 @@ has_bgimage(OSWindow *w) { static void draw_tint(bool premult, Screen *screen, GLfloat xstart, GLfloat ystart, GLfloat width, GLfloat height) { bind_program(TINT_PROGRAM); - bind_vertex_array(blit_vertex_array); color_type window_bg = colorprofile_to_color(screen->color_profile, screen->color_profile->overridden.default_bg, screen->color_profile->configured.default_bg); #define C(shift) ((((GLfloat)((window_bg >> shift) & 0xFF)) / 255.0f)) float alpha = OPT(background_tint);