Fix error handling

This commit is contained in:
Alexander Batalov 2022-07-12 09:24:49 +03:00
parent ae2e35f792
commit dac07340b4
1 changed files with 1 additions and 0 deletions

View File

@ -2073,6 +2073,7 @@ int _GNW95_init_window(int width, int height, bool fullscreen)
err:
if (gSdlTexture != NULL) {
SDL_DestroyTexture(gSdlTexture);
gSdlTexture = NULL;
}