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; image_t *image;
qhandle_t h; qhandle_t h;
float max; float max;
float dpi = 72;
float glyphScale; float glyphScale;
#endif #endif
void *faceData; void *faceData;
int i, len; int i, len;
char name[1024]; char name[1024];
float dpi = 72;
if (!fontName) { if (!fontName) {
ri.Printf(PRINT_ALL, "RE_RegisterFont: called with empty name\n"); ri.Printf(PRINT_ALL, "RE_RegisterFont: called with empty name\n");