浏览代码

Removed unnecessary Windows version check

Sam Lantinga 5 天之前
父节点
当前提交
f2bdf2a8cc
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      src/dialog/windows/SDL_windowsdialog.c

+ 0 - 4
src/dialog/windows/SDL_windowsdialog.c

@@ -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) {