[Fix] (Diligent/Drawing): Set IBO in glMultiDrawElementsBaseVertex.

This commit is contained in:
BZLZHH
2025-06-21 12:24:02 +08:00
parent edd1ad1a80
commit d3b94dd1c6
@@ -841,6 +841,12 @@ namespace MG_GL::GL {
return;
}
MG_Diligent::g_pContext->SetIndexBuffer(
pIndexBuffer,
0,
Diligent::RESOURCE_STATE_TRANSITION_MODE_TRANSITION
);
std::vector<Diligent::MultiDrawIndexedItem> drawItems;
drawItems.reserve(drawcount);