mirror of
https://github.com/bkaradzic/bimg.git
synced 2026-02-17 12:42:35 +01:00
Fixed warning.
This commit is contained in:
@@ -1132,7 +1132,7 @@ namespace bimg
|
||||
{ bx::packR32F, bx::unpackR32F }, // D32F
|
||||
{ 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)
|
||||
{
|
||||
@@ -3666,6 +3666,8 @@ namespace bimg
|
||||
total += bx::read(_reader, miscFlags2, _err);
|
||||
}
|
||||
|
||||
BX_UNUSED(total);
|
||||
|
||||
if (!_err->isOk() )
|
||||
{
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user