mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-28 04:13:44 +00:00
Condition on negative refs as well as in the future we will use interleaved drawing for background opacity as well
This commit is contained in:
parent
9bd231c4f9
commit
a4e7985fb0
1 changed files with 1 additions and 1 deletions
|
|
@ -341,7 +341,7 @@ draw_cells_interleaved(Screen *screen) {
|
|||
bind_program(CELL_BACKGROUND_PROGRAM);
|
||||
glDrawArraysInstanced(GL_TRIANGLE_FAN, 0, 4, screen->lines * screen->columns); check_gl();
|
||||
|
||||
draw_graphics(screen->grman->render_data, 0, screen->grman->num_of_negative_refs);
|
||||
if (screen->grman->num_of_negative_refs) draw_graphics(screen->grman->render_data, 0, screen->grman->num_of_negative_refs);
|
||||
|
||||
bind_program(CELL_SPECIAL_PROGRAM);
|
||||
glDrawArraysInstanced(GL_TRIANGLE_FAN, 0, 4, screen->lines * screen->columns); check_gl();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue