summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2012-04-07 16:34:21 +0000
committerTim Angus <tim@ngus.net>2013-01-12 20:21:19 +0000
commit5d4e23db49dffa68dafaf071d6796463d0834364 (patch)
tree73ae3344bafb7c03bfef96adfbdf86e672bfda84
parent713752f0fc4242987eb27efc8e825dce14f440eb (diff)
Moved dpi variable inside BUILD_FREETYPE ifdef.
-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");