From 5d4e23db49dffa68dafaf071d6796463d0834364 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Sat, 7 Apr 2012 16:34:21 +0000 Subject: Moved dpi variable inside BUILD_FREETYPE ifdef. --- src/renderer/tr_font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/renderer') diff --git a/src/renderer/tr_font.c b/src/renderer/tr_font.c index 78a9c6e9..59ce62f7 100644 --- a/src/renderer/tr_font.c +++ b/src/renderer/tr_font.c @@ -341,12 +341,12 @@ void RE_RegisterFont(const char *fontName, int pointSize, fontInfo_t *font) { image_t *image; qhandle_t h; float max; + float dpi = 72; float glyphScale; #endif void *faceData; int i, len; char name[1024]; - float dpi = 72; if (!fontName) { ri.Printf(PRINT_ALL, "RE_RegisterFont: called with empty name\n"); -- cgit