Commit 22454183 authored by Philip Trettner's avatar Philip Trettner

Exposed glDrawRangeElements through VAO interface.

parent 1a97ed4a
......@@ -312,6 +312,12 @@ public:
glMultiDrawElements( mMode, count, type, indices, primcount );
}
inline void drawRangeElements( GLuint start,
GLsizei count )
{
glDrawRangeElements( mMode, start, getIndexCount(), count, getIndexType(), nullptr);
}
#if (ACGL_OPENGL_VERSION >= 32)
inline void multiDrawElements( GLsizei *count, GLenum type, GLvoid **indices, GLsizei primcount, GLint *basevertex ) const
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment