SDL: SDL_windows.h: match WINVER value to _WIN32_WINNT.

From 2316e5682e90ecea4ba3caa95bfc81b562e9c7f7 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Sun, 19 Jun 2022 11:32:10 +0300
Subject: [PATCH] SDL_windows.h: match WINVER value to _WIN32_WINNT.

---
 src/core/windows/SDL_windows.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/windows/SDL_windows.h b/src/core/windows/SDL_windows.h
index f4cc112b3bb..21d6f0fef20 100644
--- a/src/core/windows/SDL_windows.h
+++ b/src/core/windows/SDL_windows.h
@@ -31,7 +31,6 @@
 #define UNICODE 1
 #endif
 #undef WINVER
-#define WINVER 0x0501
 #undef _WIN32_WINNT
 #if defined(SDL_VIDEO_RENDER_D3D12)
 #define _WIN32_WINNT  0xA00   /* For D3D12, 0xA00 is required */
@@ -40,6 +39,7 @@
 #else
 #define _WIN32_WINNT  0x501   /* Need 0x410 for AlphaBlend() and 0x500 for EnumDisplayDevices(), 0x501 for raw input */
 #endif
+#define WINVER        _WIN32_WINNT
 #endif
 
 #include <windows.h>