mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-09-17 02:32:04 +00:00
committed by
Ozkan Sezer
parent
4ed8d8d483
commit
9638eef848
@@ -773,8 +773,8 @@ bool WIN_HasBrokenEZFRD64DLL(void)
|
||||
static bool checked = false;
|
||||
static bool has_broken_EZFRD64_DLL = false;
|
||||
|
||||
#ifdef _WIN64
|
||||
if (!checked) {
|
||||
#ifdef _WIN64
|
||||
if (SDL_GetHintBoolean("SDL_CHECK_BROKEN_EZFRD64", true)) {
|
||||
// The 64-bit version of EZFRD64.DLL crashes after being loaded,
|
||||
// which happens implicitly when querying the device capabilities,
|
||||
@@ -793,9 +793,9 @@ bool WIN_HasBrokenEZFRD64DLL(void)
|
||||
SDL_free(files);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
checked = true;
|
||||
}
|
||||
#endif
|
||||
return has_broken_EZFRD64_DLL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user