medfall

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

commit 4feaa7ac97e5fb9c7b153122316d90653ab65e81
parent 8e1699c78dada798b93c41c871f18214ba6d3c84
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Thu Sep  8 20:08:31 -0700

Use WIDTH and HEIGHT

Diffstat:
hm.cc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hm.cc b/hm.cc @@ -135,7 +135,7 @@ extern "C" GAME_INIT( game_init ) { ImmediateTriangle * immediate_memory = memarena_push_many( &mem->persistent_arena, ImmediateTriangle, triangles ); immediate_init( &state->test_immediate, immediate_memory, triangles ); - const float aspect = 640.0f / 480.0f; + const float aspect = float( WIDTH ) / float( HEIGHT ); const float crosshair_thickness = 0.0025; const float crosshair_length = 0.01;