commit 9cda1602225dfcbd845976d6fba4d4400e80111c parent 19926961e1e0672234586cad1a7b0ca3b0bfd3d4 Author: Michael Savage <mikejsavage@gmail.com> Date: Sat Nov 26 22:45:53 +0200 Don't clear the colour buffer since we have a skybox now Diffstat:
hm.cc | | | 4 | +--- |
diff --git a/hm.cc b/hm.cc @@ -163,8 +163,6 @@ extern "C" GAME_INIT( game_init ) { red ); - glClearColor( 0, 0.5, 0.7, 1 ); - // TODO // u8 * arial = file_get_contents( "Arial.ttf" ); // @@ -246,7 +244,7 @@ static m4 camera_to_view( v3 position, v3 angles ) { } extern "C" GAME_FRAME( game_frame ) { - renderer_begin_frame(); + renderer_begin_frame( CLEARCOLOUR_DONT ); const int fb = input->keys[ 'w' ] - input->keys[ 's' ]; const int lr = input->keys[ 'a' ] - input->keys[ 'd' ];