From bca36cafd2bbffd93223e07b9f899798b63c363d Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Wed, 6 Mar 2019 00:19:44 -0800 Subject: Fixed metal compile issues --- DiligentSamples | 2 +- Tests/TestApp/src/TestApp.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DiligentSamples b/DiligentSamples index e0361c0..b25477d 160000 --- a/DiligentSamples +++ b/DiligentSamples @@ -1 +1 @@ -Subproject commit e0361c03aa143b5d160b6669c1cfd86f93734177 +Subproject commit b25477dc5ee2c624468133dd6be9d85985a7a463 diff --git a/Tests/TestApp/src/TestApp.cpp b/Tests/TestApp/src/TestApp.cpp index dcfca89..fdf5ff7 100644 --- a/Tests/TestApp/src/TestApp.cpp +++ b/Tests/TestApp/src/TestApp.cpp @@ -47,7 +47,7 @@ #endif #if METAL_SUPPORTED -# include "RenderDeviceFactoryMtl.h" +# include "EngineFactoryMtl.h" #endif #include "FileSystem.h" @@ -312,7 +312,7 @@ void TestApp::InitializeDiligentEngine( #if METAL_SUPPORTED case DeviceType::Metal: { - EngineMtlAttribs MtlAttribs; + EngineMtlCreateInfo MtlAttribs; ppContexts.resize(1 + NumDeferredCtx); auto *pFactoryMtl = GetEngineFactoryMtl(); -- cgit v1.2.3