mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-20 19:54:19 +01:00
d3d9: Remove an unused variable
This fixes a gcc warning (originally reported by Saancreed)
This commit is contained in:
parent
5312ef1cf9
commit
fae78407a2
@ -5176,7 +5176,6 @@ namespace dxvk {
|
||||
auto* ibo = GetCommonBuffer(m_state.indices);
|
||||
if (likely(ibo != nullptr)) {
|
||||
uint32_t indexStride = ibo->Desc()->Format == D3D9Format::INDEX16 ? 2 : 4;
|
||||
VkIndexType indexType = DecodeIndexType(ibo->Desc()->Format);
|
||||
uint32_t offset = indexStride * FirstIndex;
|
||||
uint32_t indexBufferSize = ibo->Desc()->Size;
|
||||
if (offset < indexBufferSize) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user