Revert "SDL_windowsevents.c: fixed -Werror=unused-variable"

This reverts commit f8cce4ead4.
main
Sam Lantinga 2024-01-12 09:32:49 -08:00
parent f8cce4ead4
commit e4ee1cade7
1 changed files with 1 additions and 1 deletions

View File

@ -1542,11 +1542,11 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
case WM_DPICHANGED:
/* Windows 8.1+ */
{
const int newDPI = HIWORD(wParam);
RECT *const suggestedRect = (RECT *)lParam;
int w, h;
#ifdef HIGHDPI_DEBUG
const int newDPI = HIWORD(wParam);
SDL_Log("WM_DPICHANGED: to %d\tsuggested rect: (%d, %d), (%dx%d)\n", newDPI,
suggestedRect->left, suggestedRect->top, suggestedRect->right - suggestedRect->left, suggestedRect->bottom - suggestedRect->top);
#endif