Skip to content

Commit

Permalink
From Nico Kruithof, "There is a small typo in the ShapeDrawable code …
Browse files Browse the repository at this point in the history
…for a sphere. There was a gl.Begin(GL_QUAD_STRIP) that was never closed, nor used.

"
  • Loading branch information
robertosfield committed Sep 5, 2012
1 parent 35aba6a commit 05fa0d9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/osg/ShapeDrawable.cpp
Expand Up @@ -306,8 +306,6 @@ void DrawShapeVisitor::apply(const Sphere& sphere)
float angleDelta = osg::PI*2.0f/(float)numSegments;
float texCoordHorzDelta = 1.0f/(float)numSegments;

gl.Begin(GL_QUAD_STRIP);

if (drawBackFace)
{
float lBase=-osg::PI*0.5f;
Expand Down

0 comments on commit 05fa0d9

Please sign in to comment.