KhronosGroup / OpenGL-Refpages

OpenGL and OpenGL ES reference page sources, and generated HTML used as backing store for khronos.org
435 stars 135 forks source link

Add some missing errors for ES3 glDrawElementsIndirect. #70

Closed oddhack closed 5 years ago

oddhack commented 5 years ago

Fixes gitlab #119.

N.b. there are dozens of validation-level errors applying to all draw calls, which aren't captured in the reference pages and may never be. This just fixes the issue that ES can't source indirect parameters from CPU memory, and requires buffers be bound for everything it is sourcing.