Removed unnecessary Windows version check

This commit is contained in:
Sam Lantinga
2025-09-14 09:01:42 -07:00
parent 78a29d1670
commit f2bdf2a8cc

View File

@@ -518,10 +518,6 @@ bool windows_ShowModernFileFolderDialog(SDL_FileDialogType dialog_type, const ch
bool success = false;
bool co_init = false;
if (!WIN_IsWindows7OrGreater()) {
goto quit;
}
// We can assume shell32 is already loaded here.
shell32_handle = GetModuleHandle(TEXT("shell32.dll"));
if (!shell32_handle) {