From 97530106c21098e60d4ca5253178965965d1fd34 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Sun, 19 Dec 2010 00:11:36 -0500 Subject: [PATCH] actually do the polygon offset for quads --- Engine.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/Engine.cc b/Engine.cc index 400c66b..f049ee0 100644 --- a/Engine.cc +++ b/Engine.cc @@ -1369,6 +1369,7 @@ int Engine::Quad::render() if (do_offset) { glEnable(GL_POLYGON_OFFSET_FILL); + glPolygonOffset(0.0, -1.0f * m_offset); } if (m_texture != 0) {