Skip to content

Commit

Permalink
Make sure mouse cursor is not left disabled when exiting
Browse files Browse the repository at this point in the history
  • Loading branch information
th-otto committed Mar 22, 2024
1 parent 83c8956 commit 617ae13
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common/video_sdl1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ bool Set_Video_Mode(int w, int h, int bits_per_pixel)
{
SDL_Init(SDL_INIT_VIDEO);
SDL_ShowCursor(SDL_DISABLE);
#ifdef __MINT__
atexit(SDL_Quit);
#endif

int win_w = w;
int win_h = h;
Expand Down

0 comments on commit 617ae13

Please sign in to comment.