mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 16:18:58 +00:00
D3D: Eliminate redundant ID3D11DeviceChild* casts
This commit is contained in:
parent
1191280e76
commit
64de8a9d0b
12 changed files with 85 additions and 104 deletions
|
@ -46,7 +46,7 @@ void VertexManager::CreateDeviceObjects()
|
|||
m_buffers[i] = nullptr;
|
||||
CHECK(SUCCEEDED(D3D::device->CreateBuffer(&bufdesc, nullptr, &m_buffers[i])),
|
||||
"Failed to create buffer.");
|
||||
D3D::SetDebugObjectName((ID3D11DeviceChild*)m_buffers[i], "Buffer of VertexManager");
|
||||
D3D::SetDebugObjectName(m_buffers[i], "Buffer of VertexManager");
|
||||
}
|
||||
|
||||
m_currentBuffer = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue