From: havoc Date: Tue, 17 Feb 2004 02:13:34 +0000 (+0000) Subject: reduced size of viewblend triangle from 64000 units to 64 units, in hopes of curing... X-Git-Tag: xonotic-v0.1.0preview~6092 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=57aa864e165668e67f943c09a963bace2e2643e0;p=xonotic%2Fdarkplaces.git 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 --- 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;