mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-21 22:54:16 +01:00
[d3d9] Handle null IBO when uploading data for draw
This commit is contained in:
parent
f254afb4fb
commit
c5a37d443a
@ -5145,7 +5145,7 @@ namespace dxvk {
|
||||
dynamicSysmemVBOs &= vbo == nullptr || vbo->IsSysmemDynamic();
|
||||
}
|
||||
D3D9CommonBuffer* ibo = GetCommonBuffer(m_state.indices);
|
||||
bool dynamicSysmemIBO = NumIndices != 0 && ibo->IsSysmemDynamic();
|
||||
bool dynamicSysmemIBO = NumIndices != 0 && ibo != nullptr && ibo->IsSysmemDynamic();
|
||||
|
||||
*pDynamicVBOs = dynamicSysmemVBOs;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user