From 2f854d4978358a666599f03d2f0cdf6c7da0ea9a Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 18 Nov 2009 12:50:03 +0000 Subject: [PATCH] Fixed primCount default value --- include/osg/State | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/osg/State b/include/osg/State index 7cefaf155..f9a227df9 100644 --- a/include/osg/State +++ b/include/osg/State @@ -480,7 +480,7 @@ class OSG_EXPORT State : public Referenced, public Observer typedef std::vector Indices; Indices _quadIndices[6]; - void drawQuads(GLint first, GLsizei count, GLsizei primCount=1); + void drawQuads(GLint first, GLsizei count, GLsizei primCount=0); inline void glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei primcount) {