summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/TestApp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/TestApp/src/TestApp.cpp')
-rw-r--r--Tests/TestApp/src/TestApp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/TestApp/src/TestApp.cpp b/Tests/TestApp/src/TestApp.cpp
index 45b9159..dbf4f90 100644
--- a/Tests/TestApp/src/TestApp.cpp
+++ b/Tests/TestApp/src/TestApp.cpp
@@ -242,7 +242,7 @@ void TestApp::InitializeDiligentEngine(
#if !PLATFORM_MACOS
VERIFY_EXPR(NativeWindowHandle != nullptr);
#endif
-#if ENGINE_DLL && (PLATFORM_WIN32 || PLATFORM_UNIVERSAL_WINDOWS)
+#if EXPLICITLY_LOAD_ENGINE_GL_DLL
// Declare function pointer
GetEngineFactoryOpenGLType GetEngineFactoryOpenGL = nullptr;
// Load the dll and import GetEngineFactoryOpenGL() function
@@ -269,7 +269,7 @@ void TestApp::InitializeDiligentEngine(
#if VULKAN_SUPPORTED
case DeviceType::Vulkan:
{
-#if ENGINE_DLL && PLATFORM_WIN32
+#if EXPLICITLY_LOAD_ENGINE_VK_DLL
GetEngineFactoryVkType GetEngineFactoryVk = nullptr;
// Load the dll and import GetEngineFactoryVk() function
LoadGraphicsEngineVk(GetEngineFactoryVk);