summaryrefslogtreecommitdiff
path: root/src/rend2/tr_backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rend2/tr_backend.c')
-rw-r--r--src/rend2/tr_backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rend2/tr_backend.c b/src/rend2/tr_backend.c
index 1a9bdccd..8c481e61 100644
--- a/src/rend2/tr_backend.c
+++ b/src/rend2/tr_backend.c
@@ -763,7 +763,7 @@ void RB_RenderDrawSurfList( drawSurf_t *drawSurfs, int numDrawSurfs ) {
{
depth[0] = 0;
depth[1] = 0.3f;
- qglDepthRange (0, 0.3);
+ qglDepthRange (depth[0], depth[1]);
}
#endif
}