From 4f5a4499cf0eee3761788eb6a422cd25e02ace40 Mon Sep 17 00:00:00 2001 From: assiduous Date: Thu, 4 Mar 2021 12:46:21 -0800 Subject: Refactored passing template arguments to base classes --- .../include/DeviceContextNextGenBase.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Graphics/GraphicsEngineNextGenBase') diff --git a/Graphics/GraphicsEngineNextGenBase/include/DeviceContextNextGenBase.hpp b/Graphics/GraphicsEngineNextGenBase/include/DeviceContextNextGenBase.hpp index cb059bca..173060fa 100644 --- a/Graphics/GraphicsEngineNextGenBase/include/DeviceContextNextGenBase.hpp +++ b/Graphics/GraphicsEngineNextGenBase/include/DeviceContextNextGenBase.hpp @@ -38,13 +38,13 @@ namespace Diligent /// Base implementation of the device context for next-generation backends. -template -class DeviceContextNextGenBase : public DeviceContextBase +template +class DeviceContextNextGenBase : public DeviceContextBase { public: - using TBase = DeviceContextBase; - using DeviceImplType = typename ImplementationTraits::DeviceType; - using ICommandQueueType = typename ImplementationTraits::ICommandQueueType; + using TBase = DeviceContextBase; + using DeviceImplType = typename EngineImplTraits::RenderDeviceImplType; + using ICommandQueueType = typename EngineImplTraits::CommandQueueInterface; DeviceContextNextGenBase(IReferenceCounters* pRefCounters, DeviceImplType* pRenderDevice, -- cgit v1.2.3