mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-29 06:28:29 +00:00
Removed unnecessary Windows version check
This commit is contained in:
@@ -518,10 +518,6 @@ bool windows_ShowModernFileFolderDialog(SDL_FileDialogType dialog_type, const ch
|
|||||||
bool success = false;
|
bool success = false;
|
||||||
bool co_init = false;
|
bool co_init = false;
|
||||||
|
|
||||||
if (!WIN_IsWindows7OrGreater()) {
|
|
||||||
goto quit;
|
|
||||||
}
|
|
||||||
|
|
||||||
// We can assume shell32 is already loaded here.
|
// We can assume shell32 is already loaded here.
|
||||||
shell32_handle = GetModuleHandle(TEXT("shell32.dll"));
|
shell32_handle = GetModuleHandle(TEXT("shell32.dll"));
|
||||||
if (!shell32_handle) {
|
if (!shell32_handle) {
|
||||||
|
Reference in New Issue
Block a user