diff options
| author | Stevoisiak <Stevoisiak@gmail.com> | 2014-11-14 14:46:49 -0500 |
|---|---|---|
| committer | Stevoisiak <S.Vascellaro@gmail.com> | 2014-11-24 17:16:59 -0500 |
| commit | 6da394a4d0891ed30fbb08f4ec853f40699f7033 (patch) | |
| tree | 3e95fff7fde66a1e121e2aa78b5c221fab8be8c9 /Source/Core/VideoBackends/D3D/D3DState.cpp | |
| parent | 60e9301f40601a1a3d6546a37ea71f18a43f9b3b (diff) | |
More formatting and consistency fixes
Diffstat (limited to 'Source/Core/VideoBackends/D3D/D3DState.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/D3D/D3DState.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/Core/VideoBackends/D3D/D3DState.cpp b/Source/Core/VideoBackends/D3D/D3DState.cpp index bf250c52d0..563f94cd9d 100644 --- a/Source/Core/VideoBackends/D3D/D3DState.cpp +++ b/Source/Core/VideoBackends/D3D/D3DState.cpp @@ -183,9 +183,7 @@ ID3D11BlendState* StateCache::Get(BlendState state) auto it = m_blend.find(state.packed); if (it != m_blend.end()) - { return it->second; - } D3D11_BLEND_DESC blenddc = CD3D11_BLEND_DESC(CD3D11_DEFAULT()); @@ -256,9 +254,7 @@ ID3D11RasterizerState* StateCache::Get(RasterizerState state) auto it = m_raster.find(state.packed); if (it != m_raster.end()) - { return it->second; - } D3D11_RASTERIZER_DESC rastdc = CD3D11_RASTERIZER_DESC(state.wireframe ? D3D11_FILL_WIREFRAME : D3D11_FILL_SOLID, state.cull_mode, @@ -279,9 +275,7 @@ ID3D11DepthStencilState* StateCache::Get(ZMode state) auto it = m_depth.find(state.hex); if (it != m_depth.end()) - { return it->second; - } D3D11_DEPTH_STENCIL_DESC depthdc = CD3D11_DEPTH_STENCIL_DESC(CD3D11_DEFAULT()); |
