mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-09 12:48:32 +09:00
[Fix] (Diligent/Drawing): Set IBO in glMultiDrawElementsBaseVertex.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user