Fixed 4bits pixel format conversion

Former-commit-id: c03823b24da431d9b85ed2aae0e88ee6045036b9
This commit is contained in:
Lynix 2013-06-09 22:04:25 +02:00
parent ca5fb44ecf
commit 0612e9bea5
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ namespace
inline nzUInt8 c4to8(nzUInt8 c)
{
return c >> 4;
return c << 4;
}
inline nzUInt8 c5to4(nzUInt8 c)
@ -31,7 +31,7 @@ namespace
inline nzUInt8 c8to4(nzUInt8 c)
{
return c << 4;
return c >> 4;
}
inline nzUInt8 c8to5(nzUInt8 c)