]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - ft2.c
don't apply motionblur when rendering to an envmap
[xonotic/darkplaces.git] / ft2.c
diff --git a/ft2.c b/ft2.c
index 29ddf9240ae0e03d6879026a49417e7f28c5d856..ce929355b3ba5e8c282651be10e2abf8dd43e449 100644 (file)
--- a/ft2.c
+++ b/ft2.c
@@ -312,11 +312,13 @@ qboolean Font_Attach(ft2_font_t *font, ft2_attachment_t *attachment)
 
 float Font_VirtualToRealSize(float sz)
 {
-       int vh, vw, si;
+       int vh;
+       //int vw;
+       int si;
        float sn;
        if(sz < 0)
                return sz;
-       vw = ((vid.width > 0) ? vid.width : vid_width.value);
+       //vw = ((vid.width > 0) ? vid.width : vid_width.value);
        vh = ((vid.height > 0) ? vid.height : vid_height.value);
        // now try to scale to our actual size:
        sn = sz * vh / vid_conheight.value;