[quake3-commits] r2238 - trunk/code/renderer

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Apr 7 12:34:21 EDT 2012


Author: ztm
Date: 2012-04-07 12:34:21 -0400 (Sat, 07 Apr 2012)
New Revision: 2238

Modified:
   trunk/code/renderer/tr_font.c
Log:
Moved dpi variable inside BUILD_FREETYPE ifdef.

Modified: trunk/code/renderer/tr_font.c
===================================================================
--- trunk/code/renderer/tr_font.c	2012-04-07 02:53:42 UTC (rev 2237)
+++ trunk/code/renderer/tr_font.c	2012-04-07 16:34:21 UTC (rev 2238)
@@ -340,12 +340,12 @@
 	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");



More information about the quake3-commits mailing list