From fd9c1b00bb67343c5551798b46674bbb6f89c0cb Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sun, 6 Nov 2005 21:18:21 +0000 Subject: [PATCH] * Fix TA font loader to use new endian defines --- code/renderer/tr_font.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/renderer/tr_font.c b/code/renderer/tr_font.c index 482c3fd5..383108fb 100644 --- a/code/renderer/tr_font.c +++ b/code/renderer/tr_font.c @@ -311,12 +311,12 @@ typedef union { 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];