KhronosGroup / OpenGL-API

OpenGL and OpenGL ES API Issue Tracker
34 stars 5 forks source link

ARB_indirect_parameters documentation error #77

Closed CZDanol closed 3 years ago

CZDanol commented 3 years ago

Hello, I believe you have an error in the https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_indirect_parameters.txt. In the:

The command

    void MultiDrawArraysIndirectCountARB(enum mode,
                                         const void *indirect,
                                         intptr drawcount,
                                         intptr maxdrawcount,
                                         sizei stride);

It should be sizei maxdrawcount.

pdaniell-nv commented 3 years ago

Thanks for spotting this problem and filing the issue. I have created a fix here: https://github.com/KhronosGroup/OpenGL-Registry/pull/441.