Commit 0286b60f authored by Robert Menzel's avatar Robert Menzel

clearified some comments

parent 2b58beab
......@@ -257,7 +257,8 @@ public:
#endif
}
//! dispatch multiple draw commands with diferent parameters, for drawing the same object multiple times, use drawArrays to use instancing
//! dispatch multiple draw commands with different parameters, for drawing the same object multiple times, use drawArrays to use instancing
//! first and count are arrays of the size primcount (so primcount chunks are beeing rendered)
inline void multiDrawArrays( const GLint *first, const GLsizei *count, GLsizei primcount ) const
{
glMultiDrawArrays( mMode, first, count, primcount );
......@@ -305,6 +306,7 @@ public:
glDrawElements(mMode, getIndexCount(), getIndexType(), (GLvoid*)NULL);
}
//! count and indices are arrays of the size primcount (so primcount chunks are beeing rendered)
inline void multiDrawElements( const GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount ) const
{
glMultiDrawElements( mMode, count, type, indices, primcount );
......
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