ソースを参照

Fixed freeing the Windows blank cursor

Sam Lantinga 4 年 前
コミット
3167ba342d
1 ファイル変更2 行追加1 行削除
  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;
     }
 }