From Nico Kruithof, "There is a small typo in the ShapeDrawable code for a sphere. There was a gl.Begin(GL_QUAD_STRIP) that was never closed, nor used.
"
This commit is contained in:
parent
fd2ee19b62
commit
a5478cf910
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user