From fb014bd8176eb739ba3273120d0653f1fda0a533 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sat, 29 Dec 2018 18:45:15 -0800 Subject: Added Metal backend stub --- Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp | 4 +--- Graphics/GraphicsEngineD3D11/src/SwapChainD3D11Impl.cpp | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'Graphics/GraphicsEngineD3D11') diff --git a/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp b/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp index 8ee4090b..ed32f58f 100755 --- a/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp +++ b/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp @@ -40,8 +40,6 @@ #include "RenderDeviceD3D11Impl.h" #include "FenceD3D11Impl.h" -using namespace Diligent; - namespace Diligent { DeviceContextD3D11Impl::DeviceContextD3D11Impl( IReferenceCounters* pRefCounters, @@ -1130,7 +1128,7 @@ namespace Diligent SET_VERTEX_BUFFERS_FLAGS Flags ) { TDeviceContextBase::SetVertexBuffers( StartSlot, NumBuffersSet, ppBuffers, pOffsets, StateTransitionMode, Flags ); - for (UINT Slot = 0; Slot < m_NumVertexStreams; ++Slot) + for (Uint32 Slot = 0; Slot < m_NumVertexStreams; ++Slot) { auto& CurrStream = m_VertexStreams[Slot]; if (auto* pBuffD3D11Impl = CurrStream.pBuffer.RawPtr()) diff --git a/Graphics/GraphicsEngineD3D11/src/SwapChainD3D11Impl.cpp b/Graphics/GraphicsEngineD3D11/src/SwapChainD3D11Impl.cpp index 720b155f..4d45ed76 100644 --- a/Graphics/GraphicsEngineD3D11/src/SwapChainD3D11Impl.cpp +++ b/Graphics/GraphicsEngineD3D11/src/SwapChainD3D11Impl.cpp @@ -27,8 +27,6 @@ #include "DeviceContextD3D11Impl.h" #include -using namespace Diligent; - namespace Diligent { -- cgit v1.2.3