medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 19926961e1e0672234586cad1a7b0ca3b0bfd3d4
parent 3392bcfb15f028bdbcf0498fcb0444da42056bb8
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sat Nov 26 22:45:13 +0200

Use renderer_begin_frame

Diffstat:
hm.cc | 2+-
mod_btt.cc | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hm.cc b/hm.cc @@ -246,7 +246,7 @@ static m4 camera_to_view( v3 position, v3 angles ) { } extern "C" GAME_FRAME( game_frame ) { - glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT ); + renderer_begin_frame(); const int fb = input->keys[ 'w' ] - input->keys[ 's' ]; const int lr = input->keys[ 'a' ] - input->keys[ 'd' ]; diff --git a/mod_btt.cc b/mod_btt.cc @@ -226,7 +226,7 @@ static void draw_qt( ImmediateContext * imm, AABBu32 aabb, const array< Heightma } extern "C" GAME_FRAME( game_frame ) { - glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT ); + renderer_begin_frame(); const int fb = input->keys[ 'w' ] - input->keys[ 's' ]; const int lr = input->keys[ 'a' ] - input->keys[ 'd' ];