public override void SetDepthBias( float constantBias, float slopeScaleBias )
{
if ( constantBias != 0 || slopeScaleBias != 0 )
{
OpenGL.Enable( All.PolygonOffsetFill );
GLESConfig.GlCheckError( this );
OpenGL.PolygonOffset( -slopeScaleBias, -constantBias );
GLESConfig.GlCheckError( this );
}
else
{
OpenGL.Disable( All.PolygonOffsetFill );
GLESConfig.GlCheckError( this );
}
}