mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-26 12:21:39 +00:00
Fix ifdefs
This commit is contained in:
parent
a2099f4c4f
commit
8a5907902c
1 changed files with 2 additions and 2 deletions
|
|
@ -27,7 +27,7 @@
|
||||||
#include <timeapi.h>
|
#include <timeapi.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if _WIN32 && UNLEASHED_RECOMP_D3D12
|
#if defined(_WIN32) && defined(UNLEASHED_RECOMP_D3D12)
|
||||||
static std::array<std::string_view, 3> g_D3D12RequiredModules =
|
static std::array<std::string_view, 3> g_D3D12RequiredModules =
|
||||||
{
|
{
|
||||||
"D3D12/D3D12Core.dll",
|
"D3D12/D3D12Core.dll",
|
||||||
|
|
@ -189,7 +189,7 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
Config::Load();
|
Config::Load();
|
||||||
|
|
||||||
#if _WIN32 && UNLEASHED_RECOMP_D3D12
|
#if defined(_WIN32) && defined(UNLEASHED_RECOMP_D3D12)
|
||||||
for (auto& dll : g_D3D12RequiredModules)
|
for (auto& dll : g_D3D12RequiredModules)
|
||||||
{
|
{
|
||||||
if (!std::filesystem::exists(g_executableRoot / dll))
|
if (!std::filesystem::exists(g_executableRoot / dll))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue