3D-Viewer: OpenGL, fix z-fight issue
This commit is contained in:
parent
78b461a41d
commit
5e371b5f29
|
@ -516,7 +516,7 @@ void C3D_RENDER_OGL_LEGACY::setCopperMaterial()
|
|||
void C3D_RENDER_OGL_LEGACY::setPlatedCopperAndDepthOffset( PCB_LAYER_ID aLayer_id )
|
||||
{
|
||||
glEnable( GL_POLYGON_OFFSET_FILL );
|
||||
glPolygonOffset( 0.0f, -2.0f );
|
||||
glPolygonOffset(-0.1f, -2.0f );
|
||||
set_layer_material( aLayer_id );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue