Fix incorrect scissoring for window resize counter
It uses draw_graphics, which uses a scissor, but the scissor was set by the last call to draw_cells() which is not called during a resize, leaving us with an incorrect scissor. Fixes #4160
This commit is contained in:
parent
21830048c9
commit
ce823e4b08
@ -474,6 +474,7 @@ draw_centered_alpha_mask(OSWindow *os_window, size_t screen_width, size_t screen
|
||||
} else {
|
||||
BLEND_ONTO_OPAQUE;
|
||||
}
|
||||
glScissor(0, 0, screen_width, screen_height);
|
||||
draw_graphics(GRAPHICS_ALPHA_MASK_PROGRAM, 0, os_window->gvao_idx, &data, 0, 1);
|
||||
glDisable(GL_BLEND);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user