Moved dpi variable inside BUILD_FREETYPE ifdef.

This commit is contained in:
Zack Middleton 2012-04-07 16:34:21 +00:00
parent a55a059abc
commit 1db2124a65

View file

@ -340,12 +340,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");