enhanced polygon offset for quads

This commit is contained in:
Josh Holtrop 2010-12-19 00:11:37 -05:00
parent 65ecbe0d5c
commit 1009f91302

View File

@ -1370,7 +1370,7 @@ int Engine::Quad::render()
if (do_offset)
{
glEnable(GL_POLYGON_OFFSET_FILL);
glPolygonOffset(0.0, -1.0f * m_offset);
glPolygonOffset(0.0, -2.0f * m_offset);
}
if (m_texture != 0)
{