twn_draw.c: clear after swap
This commit is contained in:
parent
1f8a225f89
commit
fd642171a4
@ -272,11 +272,11 @@ void render(void) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
clear_draw_buffer();
|
|
||||||
render_space();
|
render_space();
|
||||||
render_skybox(); /* after space, as to use depth buffer for early rejection */
|
render_skybox(); /* after space, as to use depth buffer for early rejection */
|
||||||
render_2d();
|
render_2d();
|
||||||
swap_buffers();
|
swap_buffers();
|
||||||
|
clear_draw_buffer();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user