From e1c687defc99896f417ddb3a9a6b3ec0a30af0aa Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 30 Sep 2002 02:34:37 +0000 Subject: [PATCH] fix view blends git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2480 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_draw.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gl_draw.c b/gl_draw.c index 1df64987..9b3dbec8 100644 --- a/gl_draw.c +++ b/gl_draw.c @@ -544,11 +544,12 @@ void R_DrawQueue(void) varray_texcoord[0][2] = 0;varray_texcoord[0][3] = 0; varray_texcoord[0][4] = 0;varray_texcoord[0][5] = 0; varray_vertex[0] = -5000;varray_vertex[1] = -5000;varray_vertex[2] = 10; - varray_vertex[4] = 10000;varray_vertex[1] = -5000;varray_vertex[2] = 10; - varray_vertex[8] = -5000;varray_vertex[1] = 10000;varray_vertex[2] = 10; + varray_vertex[4] = 10000;varray_vertex[5] = -5000;varray_vertex[6] = 10; + varray_vertex[8] = -5000;varray_vertex[9] = 10000;varray_vertex[10] = 10; // alpha is 1 for all these varray_color[3] = varray_color[7] = varray_color[11] = 1; // all the blends ignore depth + memset(&m, 0, sizeof(m)); m.depthdisable = true; t = v_contrast.value * (float) (1 << v_overbrightbits.integer); if (t >= 1.01f) -- 2.39.2