[Feat] (Diligent/Drawing): Handle uint8 in MultiDrawElementsBaseVertex.

This commit is contained in:
BZLZHH
2025-06-15 08:13:22 +08:00
parent fa7bb59a82
commit 937cab736b
@@ -692,6 +692,7 @@ namespace MG_GL::GL {
Diligent::VALUE_TYPE indexType = ConvertGLTypeToDiligent(type);
Diligent::Uint32 indexSize = 0;
switch (indexType) {
case Diligent::VT_UINT8: indexSize = 1; break;
case Diligent::VT_UINT16: indexSize = 2; break;
case Diligent::VT_UINT32: indexSize = 4; break;
default: