r304 - trunk/code/renderer

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Nov 6 16:18:21 EST 2005


Author: tma
Date: 2005-11-06 16:18:21 -0500 (Sun, 06 Nov 2005)
New Revision: 304

Modified:
   trunk/code/renderer/tr_font.c
Log:
* Fix TA font loader to use new endian defines


Modified: trunk/code/renderer/tr_font.c
===================================================================
--- trunk/code/renderer/tr_font.c	2005-11-06 19:02:00 UTC (rev 303)
+++ trunk/code/renderer/tr_font.c	2005-11-06 21:18:21 UTC (rev 304)
@@ -311,12 +311,12 @@
 
 float readFloat( void ) {
 	poor	me;
-#if defined BigFloat
+#if defined Q3_BIG_ENDIAN
 	me.fred[0] = fdFile[fdOffset+3];
 	me.fred[1] = fdFile[fdOffset+2];
 	me.fred[2] = fdFile[fdOffset+1];
 	me.fred[3] = fdFile[fdOffset+0];
-#elif defined LittleFloat
+#elif defined Q3_LITTLE_ENDIAN
 	me.fred[0] = fdFile[fdOffset+0];
 	me.fred[1] = fdFile[fdOffset+1];
 	me.fred[2] = fdFile[fdOffset+2];




More information about the quake3-commits mailing list