Browse Source

Fixed freeing the Windows blank cursor

Sam Lantinga 3 years ago
parent
commit
3167ba342d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/video/windows/SDL_windowsmouse.c

+ 2 - 1
src/video/windows/SDL_windowsmouse.c

@@ -372,7 +372,8 @@ WIN_QuitMouse(_THIS)
     }
 
     if (SDL_blank_cursor) {
-        SDL_FreeCursor(SDL_blank_cursor);
+        WIN_FreeCursor(SDL_blank_cursor);
+        SDL_blank_cursor = NULL;
     }
 }