diff --git a/src/VertexArrayObject.cxx b/src/VertexArrayObject.cxx index f0837e7..ee3a2f2 100644 --- a/src/VertexArrayObject.cxx +++ b/src/VertexArrayObject.cxx @@ -54,8 +54,8 @@ void VertexArrayObject::bind(bool bind) const { */ void VertexArrayObject::render(const DrawMode& mode, const uint32_t first, const uint32_t count) { - glDrawArrays(static_cast(mode), static_cast(first), - static_cast(count)); + glDrawArrays(static_cast(mode), static_cast(first), + static_cast(count)); } /** @@ -76,9 +76,9 @@ void VertexArrayObject::renderAll(const DrawMode& mode) { throw std::runtime_error("not implemented"); } - glDrawArrays( - static_cast(mode), static_cast(0), - static_cast(mVboMap.begin()->second->getVerticesCount() / numEl)); + glDrawArrays( + static_cast(mode), static_cast(0), + static_cast(mVboMap.begin()->second->getVerticesCount() / numEl)); } void VertexArrayObject::addVertexBufferObject(