Skip to content

Commit

Permalink
and protect from double exit
Browse files Browse the repository at this point in the history
  • Loading branch information
WinterMute committed Jan 3, 2015
1 parent d6e0e5b commit 74c37b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libctru/source/gfx.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ void gfxExit()
GSPGPU_ReleaseRight(NULL);

gspExit();

screenFree = NULL;
}

u8* gfxGetFramebuffer(gfxScreen_t screen, gfx3dSide_t side, u16* width, u16* height)
Expand Down

0 comments on commit 74c37b4

Please sign in to comment.