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:
parent
61e3285ffc
commit
ebf653369a
@ -96,7 +96,7 @@ void Program::discardDeletedGlPrograms(unsigned int contextID)
|
|||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
Program::Program() :
|
Program::Program() :
|
||||||
_geometryVerticesOut(0), _geometryInputType(GL_TRIANGLES),
|
_geometryVerticesOut(1), _geometryInputType(GL_TRIANGLES),
|
||||||
_geometryOutputType(GL_TRIANGLE_STRIP)
|
_geometryOutputType(GL_TRIANGLE_STRIP)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user