Commit 246191a2 authored by hybrid's avatar hybrid

Oops, some variable name mismatches on big endian systems...

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1459 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 5a1c69a9
========================================================================== ==========================================================================
The Irrlicht Engine SDK version 1.3.1 The Irrlicht Engine SDK version 1.4.1
========================================================================== ==========================================================================
Welcome the Irrlicht Engine SDK. Welcome the Irrlicht Engine SDK.
......
...@@ -639,7 +639,7 @@ bool C3DSMeshFileLoader::readFrameChunk(io::IReadFile* file, ChunkData* parent) ...@@ -639,7 +639,7 @@ bool C3DSMeshFileLoader::readFrameChunk(io::IReadFile* file, ChunkData* parent)
u16 version; u16 version;
file->read(&version, 2); file->read(&version, 2);
#ifdef __BIG_ENDIAN__ #ifdef __BIG_ENDIAN__
flags = os::Byteswap::byteswap(version); version = os::Byteswap::byteswap(version);
#endif #endif
core::stringc name; core::stringc name;
readString(file, data, name); readString(file, data, name);
...@@ -802,7 +802,7 @@ bool C3DSMeshFileLoader::readFrameChunk(io::IReadFile* file, ChunkData* parent) ...@@ -802,7 +802,7 @@ bool C3DSMeshFileLoader::readFrameChunk(io::IReadFile* file, ChunkData* parent)
f32 flag; f32 flag;
file->read(&flag, 4); file->read(&flag, 4);
#ifdef __BIG_ENDIAN__ #ifdef __BIG_ENDIAN__
flags = os::Byteswap::byteswap(flags); flag = os::Byteswap::byteswap(flag);
#endif #endif
data.read += 4; data.read += 4;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment