summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/renderer/tr_font.c2
1 files changed, 1 insertions, 1 deletions
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");