From c0848cf9805028f8a745670d406884d91fd11c56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Willian=20K=C3=B6lln?= Date: Fri, 28 Apr 2023 23:54:02 -0300 Subject: [PATCH] DrawElementsIndirectCommand::baseVertex is signed integer This can be confirmed by the specification ARB_draw_indirect or the signature of glDrawElements[Instanced]BaseVertex[BaseInstance] --- gl4/glMultiDrawElementsIndirect.xhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gl4/glMultiDrawElementsIndirect.xhtml b/gl4/glMultiDrawElementsIndirect.xhtml index ddc5987d..2dc64ae6 100644 --- a/gl4/glMultiDrawElementsIndirect.xhtml +++ b/gl4/glMultiDrawElementsIndirect.xhtml @@ -134,7 +134,7 @@ uint count; uint instanceCount; uint firstIndex; - uint baseVertex; + int baseVertex; uint baseInstance; } DrawElementsIndirectCommand;