There is a function signature error on page 369 of https://registry.khronos.org/OpenGL/specs/gl/glspec46.core.pdf
voidMultiDrawArraysIndirectCount( enummode, constvoid*indirect, intptrdrawcount, intptrmaxdrawcount,
sizeistride );
According to the description below: maxdrawcount specifies the maximum number of draws that are expected to be stored in the buffer, The variable maxdrawcount seems to have a sizei type.
And i found the signature of this function in glad as
#defineglMultiDrawArraysIndirectCount glad_glMultiDrawArraysIndirectCount
typedefvoid (APIENTRYPPFNGLMULTIDRAWELEMENTSINDIRECTCOUNTPROC)(GLenummode, GLenumtype, constvoid*indirect, GLintptrdrawcount, GLsizeimaxdrawcount, GLsizeistride);
I think the type of intptr is very confusing and hard to understand
There is a function signature error on page 369 of https://registry.khronos.org/OpenGL/specs/gl/glspec46.core.pdf
According to the description below:
maxdrawcount specifies the maximum number of draws that are expected to be stored in the buffer, The variablemaxdrawcountseems to have a sizei type.And i found the signature of this function in glad as
I think the type of intptr is very confusing and hard to understand