summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-01-24 07:33:32 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-01-24 07:33:32 +0000
commitc19a986065348039ea3eb44ad180c773f13f4a70 (patch)
treeb641fad2d2218ea3379ea4826cff84ac619ec528 /Tests/TestApp/src
parentUpdated core (improved shared libraries build configuration) and samples (diff)
downloadDiligentEngine-c19a986065348039ea3eb44ad180c773f13f4a70.tar.gz
DiligentEngine-c19a986065348039ea3eb44ad180c773f13f4a70.zip
Few minor updates + updated readme
Diffstat (limited to 'Tests/TestApp/src')
-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);