From 072fe91518dabe6c7f8c41d030b257e817eaea53 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 30 Dec 2021 20:44:30 +0530 Subject: [PATCH] ... --- kitty/shaders.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kitty/shaders.c b/kitty/shaders.c index 5deb0bcc7..0777f60ca 100644 --- a/kitty/shaders.c +++ b/kitty/shaders.c @@ -580,8 +580,7 @@ render_window_title(OSWindow *os_window, Screen *screen UNUSED, GLfloat xstart, xstart = clamp_position_to_nearest_pixel(xstart, os_window->viewport_width); ystart = clamp_position_to_nearest_pixel(ystart, os_window->viewport_height); GLfloat height_gl = 2.f * (bar_height / (float)os_window->viewport_height); - gpu_data_for_image(&data, xstart, ystart, - xstart + width, ystart - height_gl); + gpu_data_for_image(&data, xstart, ystart, xstart + width, ystart - height_gl); if (!data.texture_id) { glGenTextures(1, &data.texture_id); } glBindTexture(GL_TEXTURE_2D, data.texture_id); glPixelStorei(GL_UNPACK_ALIGNMENT, 1);