summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Fuller <relnev@icculus.org>2008-09-28 23:38:42 -0700
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-20 02:22:37 +0200
commit4b5f7e00b646e95a043932bf65a5bbac03596339 (patch)
tree6b43a8cb9620a49ec1ae45238530ecbad42ae2a9
parent4f2d3fe2c399602d228fb559cbab0e8326792d0a (diff)
Adjusted the polygon offset to a more reasonable value.
-rw-r--r--src/opengl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl.c b/src/opengl.c
index e112ef2..6bc759d 100644
--- a/src/opengl.c
+++ b/src/opengl.c
@@ -517,7 +517,7 @@ void D3D_DecalSystem_Setup()
pglEnable(GL_POLYGON_OFFSET_FILL);
static GLfloat factor = 0.0f;
- static GLfloat units = -100.0f;
+ static GLfloat units = -0.09375f;
pglPolygonOffset(factor, units);
}