medfall

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

commit 780a7f3497fffc37974575145bf71d629e0e419f
parent e88f21fefaa8b90521607eb6662458e4766a9925
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sat Nov 19 23:45:19 +0200

Disable skybox for now

Diffstat:
game.h | 4++--
hm.cc | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/game.h b/game.h @@ -12,7 +12,7 @@ #include "heightmap.h" #include "bsp.h" #include "bsp_renderer.h" -#include "skybox.h" +// #include "skybox.h" #include "immediate.h" #include "work_queue.h" #include "memory_arena.h" @@ -64,7 +64,7 @@ struct GameState { GLint test_outline_at_colour; GLint test_outline_un_vp; - Skybox skybox; + // Skybox skybox; float test_sun; diff --git a/hm.cc b/hm.cc @@ -203,7 +203,7 @@ extern "C" GAME_INIT( game_init ) { game->font_at_uv = glGetAttribLocation( game->font_shader, "uv" ); game->font_un_atlas = glGetUniformLocation( game->font_shader, "atlas" ); - skybox_init( &game->skybox ); + // skybox_init( &game->skybox ); } static void draw_string( const GameState * game, @@ -276,7 +276,7 @@ extern "C" GAME_FRAME( game_frame ) { m4 VP = V * P; // TODO: WTF terrain_render( &game->tm, V, VP, game->test_sun, current_time ); - skybox_render( &game->skybox, game->angles ); + // skybox_render( &game->skybox, game->angles ); glDisable( GL_DEPTH_TEST ); glUseProgram( game->test_shader );