twn_draw.c: clear after swap

This commit is contained in:
veclav talica 2024-10-08 00:55:40 +03:00
parent 1f8a225f89
commit fd642171a4

View File

@ -272,11 +272,11 @@ void render(void) {
}
}
clear_draw_buffer();
render_space();
render_skybox(); /* after space, as to use depth buffer for early rejection */
render_2d();
swap_buffers();
clear_draw_buffer();
}