mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-02 15:47:31 +08:00
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
This commit is contained in:
@@ -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;
|
} break;
|
||||||
|
|
||||||
case WM_ENTERSIZEMOVE:
|
case WM_ENTERSIZEMOVE:
|
||||||
|
|||||||
Reference in New Issue
Block a user