workaround to flush updating one call behind
Some checks are pending
Make PNG / build-app (push) Waiting to run
Some checks are pending
Make PNG / build-app (push) Waiting to run
This commit is contained in:
parent
db46885ee9
commit
11ffc40bbb
@ -287,6 +287,8 @@ namespace glerminal
|
||||
|
||||
glBlitNamedFramebuffer(m_screen_framebuffer, 0, 0, 0, GRID_WIDTH * CELL_SIZE, GRID_HEIGHT * CELL_SIZE, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, GL_COLOR_BUFFER_BIT, GL_NEAREST);
|
||||
glfwSwapBuffers(m_window);
|
||||
glBlitNamedFramebuffer(m_screen_framebuffer, 0, 0, 0, GRID_WIDTH * CELL_SIZE, GRID_HEIGHT * CELL_SIZE, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, GL_COLOR_BUFFER_BIT, GL_NEAREST);
|
||||
glfwSwapBuffers(m_window);
|
||||
}
|
||||
|
||||
void glerminal::set(int x, int y, int layer, unsigned short sprite)
|
||||
|
Loading…
x
Reference in New Issue
Block a user