diff options
| author | Stenzek <stenzek@users.noreply.github.com> | 2017-09-03 14:13:17 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-03 14:13:17 +1000 |
| commit | ce59121748695118c5cc4e010cdd84449d16911c (patch) | |
| tree | d628c371c7363a194d22e18d781f4d2fdd483d88 /Source/Core/VideoBackends/D3D/NativeVertexFormat.cpp | |
| parent | 005d0b39f7d1bb5fcb1b40ea540c5ae3c1a9c309 (diff) | |
| parent | 64de8a9d0b8ac29fc82c414b82408a524ba1c711 (diff) | |
Merge pull request #6004 from lioncash/d3d
D3D: Eliminate redundant ID3D11DeviceChild* casts
Diffstat (limited to 'Source/Core/VideoBackends/D3D/NativeVertexFormat.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/D3D/NativeVertexFormat.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/D3D/NativeVertexFormat.cpp b/Source/Core/VideoBackends/D3D/NativeVertexFormat.cpp index fe17144bc0..94ef4ba516 100644 --- a/Source/Core/VideoBackends/D3D/NativeVertexFormat.cpp +++ b/Source/Core/VideoBackends/D3D/NativeVertexFormat.cpp @@ -130,8 +130,7 @@ void D3DVertexFormat::SetInputLayout(D3DBlob* vs_bytecode) m_elems.data(), m_num_elems, vs_bytecode->Data(), vs_bytecode->Size(), &m_layout); if (FAILED(hr)) PanicAlert("Failed to create input layout, %s %d\n", __FILE__, __LINE__); - DX11::D3D::SetDebugObjectName((ID3D11DeviceChild*)m_layout, - "input layout used to emulate the GX pipeline"); + DX11::D3D::SetDebugObjectName(m_layout, "input layout used to emulate the GX pipeline"); } DX11::D3D::stateman->SetInputLayout(m_layout); } |
