mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-27 03:11:46 +00:00
...
This commit is contained in:
parent
cd88505ca7
commit
3471887817
1 changed files with 1 additions and 1 deletions
|
|
@ -628,7 +628,7 @@ draw_cells_impl(ssize_t vao_idx, GLfloat xstart, GLfloat ystart, GLfloat dx, GLf
|
|||
#define UL(name) cell_uniform_locations[CELL_##name]
|
||||
bind_program(CELL_PROGRAM);
|
||||
bind_vao_uniform_buffer(vao_idx, 2, cell_color_table_block_index);
|
||||
static GLuint dimensions[8];
|
||||
static GLuint dimensions[9];
|
||||
dimensions[0] = screen->columns; dimensions[1] = screen->lines; dimensions[2] = cx; dimensions[3] = cy; dimensions[4] = cx + MAX(1, screen_current_char_width(screen)) - 1;
|
||||
screen_url_range(screen, dimensions + 5);
|
||||
glUniform1uiv(UL(dimensions), sizeof(dimensions) / sizeof(dimensions[0]), dimensions);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue