provide size to glDrawElements

hi,
i cant access the lwjgl website these days.

anyway, i was wondering why

GL11.glDrawElements(mode, indices);

does not provide a mode to specify the size or count of the Buffer?

thanks!

Princec’s server is currently broken, so no Puppygames and no lwjgl.org for the moment.

As to glDrawElements: the buffer size, type and hence element count are implied by the size and type of the buffer, so having to specify them in the method call is just an opportunity for error.