summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D11
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-12-30 02:45:15 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-12-30 02:45:15 +0000
commitfb014bd8176eb739ba3273120d0653f1fda0a533 (patch)
tree75eea02e86998e6189a99293282ae019a8202e30 /Graphics/GraphicsEngineD3D11
parentMinor fix in cmake file (diff)
downloadDiligentCore-fb014bd8176eb739ba3273120d0653f1fda0a533.tar.gz
DiligentCore-fb014bd8176eb739ba3273120d0653f1fda0a533.zip
Added Metal backend stub
Diffstat (limited to 'Graphics/GraphicsEngineD3D11')
-rwxr-xr-xGraphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp4
-rw-r--r--Graphics/GraphicsEngineD3D11/src/SwapChainD3D11Impl.cpp2
2 files changed, 1 insertions, 5 deletions
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 <dxgi1_2.h>
-using namespace Diligent;
-
namespace Diligent
{