diff --git a/src/rendering/twn_draw.c b/src/rendering/twn_draw.c index fec1f90..5a14563 100644 --- a/src/rendering/twn_draw.c +++ b/src/rendering/twn_draw.c @@ -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(); }