Spotted by Brede - missing !

This commit is contained in:
Robert Osfield
2003-03-25 13:01:34 +00:00
parent 6b5d17a6d4
commit ce46db87b0

View File

@@ -482,7 +482,7 @@ void Geometry::drawImplementation(State& state) const
// Set up secondary color if required.
//
AttributeBinding secondaryColorBinding = _secondaryColorBinding;
if (secondaryColorBinding!=BIND_OFF && (!s_glSecondaryColor3ubv || s_glSecondaryColor3fv))
if (secondaryColorBinding!=BIND_OFF && (!s_glSecondaryColor3ubv || !s_glSecondaryColor3fv))
{
// switch off if not supported or have a valid data.
secondaryColorBinding = BIND_OFF;