medfall

A super great game engine
Log | Files | Refs

commit 879a3b9194eb9f9a0a83177c526dd09b090362da
parent dcafa8a9dc2d80c3a960effe6033e877046746dc
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sat Sep 16 09:33:39 +0300

Warnings

Diffstat:
clipmap.cc | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/clipmap.cc b/clipmap.cc @@ -122,10 +122,10 @@ GAME_FRAME( game_frame ) { UniformBinding view_uniforms = renderer_uniforms( V, P, game->pos ); - for( int l = 0; l < NUM_LODS; l++ ) { + for( u32 l = 0; l < NUM_LODS; l++ ) { float scale = 1.0f; v2 base = v2( -float( PATCH_RESOLUTION * 2 ), -float( PATCH_RESOLUTION * 2 ) ); - for( int i = 0; i < l; i++ ) { + for( u32 i = 0; i < l; i++ ) { scale *= 2.0f; base *= 2.0f; }