fill out stencil implementation
This commit is contained in:
parent
7ec27f1d55
commit
6921f04120
|
|
@ -4138,9 +4138,7 @@ get_stencil_action_type(StencilProperty::Action a) const
|
|||
case StencilProperty::A_decrement:
|
||||
glgsg_cat.error()
|
||||
<< "wraparound incr/decr StencilProperty::Action not supported by OpenGL\n";
|
||||
if(a == StencilProperty::A_increment)
|
||||
return GL_INCR;
|
||||
else return GL_DECR;
|
||||
return ((a == StencilProperty::A_increment) ? GL_INCR : GL_DECR);
|
||||
}
|
||||
glgsg_cat.error()
|
||||
<< "Invalid StencilProperty::Action value" << endl;
|
||||
|
|
|
|||
Loading…
Reference in New Issue