From Art Trevs, set the _geometryVerticesOut to default to 1 as a workaround

for OpenGL driver bug that incorrectly reports a warning when value is 0.
This commit is contained in:
Robert Osfield 2008-05-09 11:54:24 +00:00
parent 61e3285ffc
commit ebf653369a

View File

@ -96,7 +96,7 @@ void Program::discardDeletedGlPrograms(unsigned int contextID)
///////////////////////////////////////////////////////////////////////////
Program::Program() :
_geometryVerticesOut(0), _geometryInputType(GL_TRIANGLES),
_geometryVerticesOut(1), _geometryInputType(GL_TRIANGLES),
_geometryOutputType(GL_TRIANGLE_STRIP)
{
}