From 5d11bc3700658755a37eb0add40deb4f167c2084 Mon Sep 17 00:00:00 2001 From: assiduous Date: Thu, 4 Mar 2021 00:16:25 -0800 Subject: Unified device object creation in D3D12, Vulkan and OpenGL --- .../GraphicsEngineD3DBase/include/RenderDeviceD3DBase.hpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'Graphics/GraphicsEngineD3DBase') diff --git a/Graphics/GraphicsEngineD3DBase/include/RenderDeviceD3DBase.hpp b/Graphics/GraphicsEngineD3DBase/include/RenderDeviceD3DBase.hpp index 504e4761..1f245a6d 100644 --- a/Graphics/GraphicsEngineD3DBase/include/RenderDeviceD3DBase.hpp +++ b/Graphics/GraphicsEngineD3DBase/include/RenderDeviceD3DBase.hpp @@ -39,16 +39,15 @@ namespace Diligent /// Base implementation of a D3D render device -template -class RenderDeviceD3DBase : public RenderDeviceBase +template +class RenderDeviceD3DBase : public RenderDeviceBase { public: - RenderDeviceD3DBase(IReferenceCounters* pRefCounters, - IMemoryAllocator& RawMemAllocator, - IEngineFactory* pEngineFactory, - Uint32 NumDeferredContexts, - const DeviceObjectSizes& ObjectSizes) : - RenderDeviceBase{pRefCounters, RawMemAllocator, pEngineFactory, NumDeferredContexts, ObjectSizes} + RenderDeviceD3DBase(IReferenceCounters* pRefCounters, + IMemoryAllocator& RawMemAllocator, + IEngineFactory* pEngineFactory, + Uint32 NumDeferredContexts) : + RenderDeviceBase{pRefCounters, RawMemAllocator, pEngineFactory, NumDeferredContexts} { // Flag texture formats always supported in D3D11 and D3D12 -- cgit v1.2.3