소스 검색

Removed InvalidateRect() when moving and resizing

This was added in 2016, presumably to help address the move/resize issues on Windows, which have been since been addressed by the live-resize functionality.

Fixes https://github.com/libsdl-org/SDL/issues/14079
Sam Lantinga 6 달 전
부모
커밋
caa33cb018
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      src/video/windows/SDL_windowsevents.c

+ 0 - 3
src/video/windows/SDL_windowsevents.c

@@ -1818,9 +1818,6 @@ LRESULT CALLBACK WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPara
             }
         }
 
-        // Forces a WM_PAINT event
-        InvalidateRect(hwnd, NULL, FALSE);
-
     } break;
 
     case WM_ENTERSIZEMOVE: