From 87c91dd0a5e41afd36d219d1bb030cde92c1474c Mon Sep 17 00:00:00 2001 From: jussi Date: Tue, 4 Apr 2023 23:54:57 +0300 Subject: v0.4. --- src/state.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/state.c') diff --git a/src/state.c b/src/state.c index 178c911..650e8b7 100644 --- a/src/state.c +++ b/src/state.c @@ -32,7 +32,7 @@ bool stateInit( const char *exePath ) { state->fontAlloc = ALLOC_PAGE_SIZE; state->fontCount = 1; state->fonts = malloc( state->fontAlloc * sizeof( Font* ) ); - /* Wavess. */ + /* Waves. */ state->waveAlloc = ALLOC_PAGE_SIZE; state->waveCount = 0; state->waves = malloc( state->waveAlloc * sizeof( Wave* ) ); @@ -167,7 +167,6 @@ void stateFree() { } for ( int i = 0; i < state->modelCount; ++i ) { if ( state->models[i] != NULL ) { - // UnloadModel( *state->models[i] ); UnloadModelKeepMeshes( *state->models[i] ); free( state->models[i] ); } @@ -199,7 +198,8 @@ void stateFree() { free( state->shaders[i] ); } } -#if !defined(PLATFORM_RPI) || !defined(PLATFORM_DRM) + +#if !defined( PLATFORM_RPI ) || !defined( PLATFORM_DRM ) for ( int i = 0; i < state->lightCount; ++i ) { if ( state->lights[i] != NULL ) { free( state->lights[i] ); -- cgit v1.2.3