Commit c7ebf3fb authored by hybrid's avatar hybrid

Fixed typo in namespace.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2281 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 8ec7eb9f
...@@ -400,8 +400,8 @@ bool CImageLoaderRGB::readOffsetTables(io::IReadFile* file, rgbStruct *rgb) cons ...@@ -400,8 +400,8 @@ bool CImageLoaderRGB::readOffsetTables(io::IReadFile* file, rgbStruct *rgb) cons
const u32 length = rgb->TableLen; const u32 length = rgb->TableLen;
for (u32 i=0; i<length; ++i) for (u32 i=0; i<length; ++i)
{ {
rgb->StartTable[i] = os::ByteSwap::byteswap(rgb->StartTable[i]); rgb->StartTable[i] = os::Byteswap::byteswap(rgb->StartTable[i]);
rgb->LengthTable[i] = os::ByteSwap::byteswap(rgb->LengthTable[i]); rgb->LengthTable[i] = os::Byteswap::byteswap(rgb->LengthTable[i]);
} }
#endif #endif
...@@ -553,7 +553,7 @@ void CImageLoaderRGB::readRGBrow(u8 *buf, int y, int z, io::IReadFile* file, rgb ...@@ -553,7 +553,7 @@ void CImageLoaderRGB::readRGBrow(u8 *buf, int y, int z, io::IReadFile* file, rgb
u16* tmpbuf = reinterpret_cast<u16*>(buf); u16* tmpbuf = reinterpret_cast<u16*>(buf);
for (u32 i=0; i<rgb->header.Xsize; ++i) for (u32 i=0; i<rgb->header.Xsize; ++i)
{ {
tmpbuf[i] = os::ByteSwap::byteswap(tmpbuf[i]); tmpbuf[i] = os::Byteswap::byteswap(tmpbuf[i]);
} }
} }
#endif #endif
...@@ -591,7 +591,7 @@ void CImageLoaderRGB::readRGBrow(u8 *buf, int y, int z, io::IReadFile* file, rgb ...@@ -591,7 +591,7 @@ void CImageLoaderRGB::readRGBrow(u8 *buf, int y, int z, io::IReadFile* file, rgb
#ifndef __BIG_ENDIAN__ #ifndef __BIG_ENDIAN__
if (rgb->header.BPC != 1) if (rgb->header.BPC != 1)
pixel = os::ByteSwap::byteswap(pixel); pixel = os::Byteswap::byteswap(pixel);
#endif #endif
count = (int)(pixel & 0x7F); count = (int)(pixel & 0x7F);
...@@ -624,7 +624,7 @@ void CImageLoaderRGB::readRGBrow(u8 *buf, int y, int z, io::IReadFile* file, rgb ...@@ -624,7 +624,7 @@ void CImageLoaderRGB::readRGBrow(u8 *buf, int y, int z, io::IReadFile* file, rgb
tempShort++; tempShort++;
iPtr = (u8 *) (tempShort); iPtr = (u8 *) (tempShort);
#ifndef __BIG_ENDIAN__ #ifndef __BIG_ENDIAN__
pixel = os::ByteSwap::byteswap(pixel); pixel = os::Byteswap::byteswap(pixel);
#endif #endif
tempShort = (u16 *) (oPtr); tempShort = (u16 *) (oPtr);
*tempShort = pixel; *tempShort = pixel;
...@@ -649,7 +649,7 @@ void CImageLoaderRGB::readRGBrow(u8 *buf, int y, int z, io::IReadFile* file, rgb ...@@ -649,7 +649,7 @@ void CImageLoaderRGB::readRGBrow(u8 *buf, int y, int z, io::IReadFile* file, rgb
#ifndef __BIG_ENDIAN__ #ifndef __BIG_ENDIAN__
if (rgb->header.BPC != 1) if (rgb->header.BPC != 1)
pixel = os::ByteSwap::byteswap(pixel); pixel = os::Byteswap::byteswap(pixel);
#endif #endif
while (count--) while (count--)
......
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