summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2011-02-04 16:48:36 +0300
committerAndrey Nazarov <skuller@skuller.net>2011-02-04 20:57:30 +0300
commitdced1f22a26bcf5061c6e00c4c65ff87d99959d6 (patch)
tree7275e045ee0032859f0b7586890fa598a468e617 /src
parentb1769ace4f2dcc279f1888fe13b8367c19dc5430 (diff)
Make software particles smaller.
Diffstat (limited to 'src')
-rw-r--r--src/sw_misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sw_misc.c b/src/sw_misc.c
index 38155ff..e98aa82 100644
--- a/src/sw_misc.c
+++ b/src/sw_misc.c
@@ -83,12 +83,12 @@ void D_ViewChanged (void)
d_zrowbytes = vid.width * 2;
d_zwidth = vid.width;
- d_pix_min = r_refdef.vrect.width / 320;
+ d_pix_min = r_refdef.vrect.width / 640;
if (d_pix_min < 1)
d_pix_min = 1;
- d_pix_max = (int)((float)r_refdef.vrect.width / (320.0 / 4.0) + 0.5);
- d_pix_shift = 8 - (int)((float)r_refdef.vrect.width / 320.0 + 0.5);
+ d_pix_max = (int)((float)r_refdef.vrect.width / (640.0 / 4.0) + 0.5);
+ d_pix_shift = 8 - (int)((float)r_refdef.vrect.width / 640.0 + 0.5);
if (d_pix_max < 1)
d_pix_max = 1;