mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-12 14:18:31 +09:00
[Fix] (Diligent/Drawing): Set IBO in glMultiDrawElementsBaseVertex.
This commit is contained in:
@@ -841,6 +841,12 @@ namespace MG_GL::GL {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MG_Diligent::g_pContext->SetIndexBuffer(
|
||||||
|
pIndexBuffer,
|
||||||
|
0,
|
||||||
|
Diligent::RESOURCE_STATE_TRANSITION_MODE_TRANSITION
|
||||||
|
);
|
||||||
|
|
||||||
std::vector<Diligent::MultiDrawIndexedItem> drawItems;
|
std::vector<Diligent::MultiDrawIndexedItem> drawItems;
|
||||||
drawItems.reserve(drawcount);
|
drawItems.reserve(drawcount);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user