[Fix] Regression, scissor test ending before flush.
This commit is contained in:
parent
8d9cd9a777
commit
b1392c2e6b
@ -142,8 +142,8 @@ void Terminal::render(const RenderContext& context, int x, int y_screen, int y_g
|
|||||||
_input_view->render(context.ui_renderer, input_x_pos, prompt_line_y, input_width,
|
_input_view->render(context.ui_renderer, input_x_pos, prompt_line_y, input_width,
|
||||||
line_height, context.show_cursor);
|
line_height, context.show_cursor);
|
||||||
|
|
||||||
|
context.ui_renderer->flush_text();
|
||||||
|
|
||||||
/* Disable scissor test. */
|
/* Disable scissor test. */
|
||||||
glDisable(GL_SCISSOR_TEST);
|
glDisable(GL_SCISSOR_TEST);
|
||||||
|
|
||||||
context.ui_renderer->flush_text();
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user