From c19a986065348039ea3eb44ad180c773f13f4a70 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Wed, 23 Jan 2019 23:33:32 -0800 Subject: Few minor updates + updated readme --- Tests/TestApp/src/TestApp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Tests/TestApp/src') 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); -- cgit v1.2.3