Skip to content

Function signature description error  #94

Description

@smile-zyk

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions