mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-14 06:01:10 +00:00
Moved dpi variable inside BUILD_FREETYPE ifdef.
This commit is contained in:
parent
a55a059abc
commit
1db2124a65
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue