Release v0.5.

This commit is contained in:
jussi
2023-10-27 01:16:03 +03:00
parent 56c365c8cc
commit 6be8d71fac
11 changed files with 116 additions and 25 deletions

View File

@@ -211,11 +211,12 @@ void stateFree() {
if ( IsAudioDeviceReady() ) {
CloseAudioDevice();
}
if ( state->hasWindow ) {
CloseWindow();
}
if ( state->luaState != NULL ) {
lua_close( state->luaState );
state->luaState = NULL;
}
if ( state->hasWindow ) {
CloseWindow();
}
free( state->images );
free( state->textures );