Some doc fixes.

This commit is contained in:
jussi
2022-05-21 17:30:26 +03:00
parent 043fd72698
commit 85fc6cd6a3
5 changed files with 14 additions and 12 deletions

View File

@@ -186,11 +186,13 @@ void stateFree() {
free( state->shaders[i] );
}
}
#if !defined(PLATFORM_RPI) || !defined(PLATFORM_DRM)
for ( int i = 0; i < state->lightCount; ++i ) {
if ( state->lights[i] != NULL ) {
free( state->lights[i] );
}
}
#endif
if ( IsAudioDeviceReady() ) {
CloseAudioDevice();