setting material shininess causes glerror
when i set the shininess of an object, loaded by the obj file loader, a glerror is caused. My opengl version is 4.5 compatibility profile.
steps to reproduce: load some obj that sets shininess
the glerror is caused by GLState.cc line 760:
void GLState::set_shininess(float _shininess)
{
shininess_ = _shininess;
if (updateGL_ && compatibilityProfile_)
{
makeCurrent();
glMaterialf(GL_FRONT_AND_BACK, GL_SHININESS, _shininess);
}
}