mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
* Fix TA font loader to use new endian defines
This commit is contained in:
parent
b2f39d7ddd
commit
fd9c1b00bb
1 changed files with 2 additions and 2 deletions
|
@ -311,12 +311,12 @@ typedef union {
|
||||||
|
|
||||||
float readFloat( void ) {
|
float readFloat( void ) {
|
||||||
poor me;
|
poor me;
|
||||||
#if defined BigFloat
|
#if defined Q3_BIG_ENDIAN
|
||||||
me.fred[0] = fdFile[fdOffset+3];
|
me.fred[0] = fdFile[fdOffset+3];
|
||||||
me.fred[1] = fdFile[fdOffset+2];
|
me.fred[1] = fdFile[fdOffset+2];
|
||||||
me.fred[2] = fdFile[fdOffset+1];
|
me.fred[2] = fdFile[fdOffset+1];
|
||||||
me.fred[3] = fdFile[fdOffset+0];
|
me.fred[3] = fdFile[fdOffset+0];
|
||||||
#elif defined LittleFloat
|
#elif defined Q3_LITTLE_ENDIAN
|
||||||
me.fred[0] = fdFile[fdOffset+0];
|
me.fred[0] = fdFile[fdOffset+0];
|
||||||
me.fred[1] = fdFile[fdOffset+1];
|
me.fred[1] = fdFile[fdOffset+1];
|
||||||
me.fred[2] = fdFile[fdOffset+2];
|
me.fred[2] = fdFile[fdOffset+2];
|
||||||
|
|
Loading…
Reference in a new issue