diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-11-06 21:18:21 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-11-06 21:18:21 +0000 |
commit | 43877aca61180aa6f270fc8ed79ce35481b21de6 (patch) | |
tree | 27ba0c28004de2ea489dc2d0b7c416632c4d5b64 | |
parent | 6011e6bf892b14f536680ce84219c35a1fd0afc1 (diff) | |
download | ioquake3-aero-43877aca61180aa6f270fc8ed79ce35481b21de6.tar.gz ioquake3-aero-43877aca61180aa6f270fc8ed79ce35481b21de6.zip |
* Fix TA font loader to use new endian defines
git-svn-id: svn://svn.icculus.org/quake3/trunk@304 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r-- | code/renderer/tr_font.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/code/renderer/tr_font.c b/code/renderer/tr_font.c index 482c3fd..383108f 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]; |