From 57aa864e165668e67f943c09a963bace2e2643e0 Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 17 Feb 2004 02:13:34 +0000 Subject: [PATCH] reduced size of viewblend triangle from 64000 units to 64 units, in hopes of curing precision problems on some graphics cards (NVIDIA and ATI both) causing a missing line on the blend git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3898 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gl_rmain.c b/gl_rmain.c index a85815cb..35e97598 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -820,7 +820,7 @@ static void R_BlendView(void) GL_DepthTest(false); // magic GL_VertexPointer(vertex3f); GL_Color(r_refdef.viewblend[0], r_refdef.viewblend[1], r_refdef.viewblend[2], r_refdef.viewblend[3]); - r = 64000; + r = 64; vertex3f[0] = r_vieworigin[0] + r_viewforward[0] * 1.5 + r_viewleft[0] * r - r_viewup[0] * r; vertex3f[1] = r_vieworigin[1] + r_viewforward[1] * 1.5 + r_viewleft[1] * r - r_viewup[1] * r; vertex3f[2] = r_vieworigin[2] + r_viewforward[2] * 1.5 + r_viewleft[2] * r - r_viewup[2] * r; -- 2.39.2