enhanced polygon offset for quads
This commit is contained in:
1 parent
65ecbe0d5c
commit
1009f91302
1 file changed
+1
-1
@@ -1370,7 +1370,7 @@ int Engine::Quad::render()
|
|||||||
if (do_offset)
|
if (do_offset)
|
||||||
{
|
{
|
||||||
glEnable(GL_POLYGON_OFFSET_FILL);
|
glEnable(GL_POLYGON_OFFSET_FILL);
|
||||||
glPolygonOffset(0.0, -1.0f * m_offset);
|
glPolygonOffset(0.0, -2.0f * m_offset);
|
||||||
}
|
}
|
||||||
if (m_texture != 0)
|
if (m_texture != 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user