From Richard Schmidt, fix on ordering to be standard OpenGL way.
This commit is contained in:
parent
c5704586f9
commit
c43606e3fe
@ -358,8 +358,8 @@ void Material::apply(State&) const
|
||||
}
|
||||
else
|
||||
{
|
||||
glEnable(GL_COLOR_MATERIAL);
|
||||
glColorMaterial(GL_FRONT_AND_BACK,(GLenum)_colorMode);
|
||||
glEnable(GL_COLOR_MATERIAL);
|
||||
switch(_colorMode)
|
||||
{
|
||||
case(AMBIENT): glColor4fv(_ambientFront.ptr()); break;
|
||||
|
Loading…
Reference in New Issue
Block a user