Commit 9b59496e authored by Janis Born's avatar Janis Born

fix warning message in VertexArrayObject.cc

parent a0e0caed
......@@ -231,7 +231,7 @@ void VertexArrayObject::setAttributePointer( GLuint _index )
glVertexAttribDivisor( _index, arrayBufferAttribute.divisor );
#else
if(arrayBufferAttribute.divisor > 0)
warning() << "Attribute divisors are not supported in OpenGL < 3.3";
warning() << "Attribute divisors are not supported in OpenGL < 3.3" << std::endl;
#endif
glEnableVertexAttribArray(_index);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment