mirror of
https://github.com/bkaradzic/bimg.git
synced 2026-02-17 20:52:38 +01:00
Fixed warning.
This commit is contained in:
@@ -1132,7 +1132,7 @@ namespace bimg
|
|||||||
{ bx::packR32F, bx::unpackR32F }, // D32F
|
{ bx::packR32F, bx::unpackR32F }, // D32F
|
||||||
{ bx::packR8, bx::unpackR8 }, // D0S8
|
{ bx::packR8, bx::unpackR8 }, // D0S8
|
||||||
};
|
};
|
||||||
BX_STATIC_ASSERT(TextureFormat::Count == BX_COUNTOF(s_packUnpack) );
|
BX_STATIC_ASSERT(TextureFormat::Count == BX_COUNTOF(s_packUnpack) );
|
||||||
|
|
||||||
PackFn getPack(TextureFormat::Enum _format)
|
PackFn getPack(TextureFormat::Enum _format)
|
||||||
{
|
{
|
||||||
@@ -3666,6 +3666,8 @@ namespace bimg
|
|||||||
total += bx::read(_reader, miscFlags2, _err);
|
total += bx::read(_reader, miscFlags2, _err);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BX_UNUSED(total);
|
||||||
|
|
||||||
if (!_err->isOk() )
|
if (!_err->isOk() )
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user