mirror of
https://github.com/leozide/leocad
synced 2024-11-17 07:47:55 +01:00
Swapped opaque and translucent polygon offsets.
This commit is contained in:
parent
0abc4a258a
commit
2356af4049
1 changed files with 2 additions and 2 deletions
|
@ -400,12 +400,12 @@ void lcContext::SetPolygonOffset(lcPolygonOffset PolygonOffset)
|
|||
break;
|
||||
|
||||
case LC_POLYGON_OFFSET_OPAQUE:
|
||||
glPolygonOffset(0.25f, 0.1f);
|
||||
glPolygonOffset(0.5f, 0.1f);
|
||||
glEnable(GL_POLYGON_OFFSET_FILL);
|
||||
break;
|
||||
|
||||
case LC_POLYGON_OFFSET_TRANSLUCENT:
|
||||
glPolygonOffset(0.5f, 0.1f);
|
||||
glPolygonOffset(0.25f, 0.1f);
|
||||
glEnable(GL_POLYGON_OFFSET_FILL);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue