From a718c7aec92885f95766720ceba3a21bfce1ba02 Mon Sep 17 00:00:00 2001 From: Jack Jamison Date: Mon, 20 Oct 2025 15:11:35 -0400 Subject: better cursor size --- graphics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics.c') diff --git a/graphics.c b/graphics.c index bc812df..b223daa 100644 --- a/graphics.c +++ b/graphics.c @@ -204,7 +204,7 @@ void render_frame(client_state *state) { glUniform4f(state->b_color_uniform, cursor_color.r,cursor_color.g,cursor_color.b,cursor_color.a); glUniform2f(state->b_screen_size_uniform, state->width, state->height); glUniform2f(state->b_start_uniform, state->input_buffer_grafix.pixel_len + state->horizontal_spacing / 2.0f, input_y); - glUniform2f(state->b_size_uniform, 10.0f, state->line_height); + glUniform2f(state->b_size_uniform, state->atlas.metrics['m'].bitmap_width, state->line_height); glDrawArrays(GL_TRIANGLES, 0, 6); float start; -- cgit v1.2.3