mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
Fixed warnings.
This commit is contained in:
parent
d4cd0ea4fa
commit
dcdd720370
1 changed files with 729 additions and 728 deletions
|
@ -521,6 +521,7 @@ int main(int _argc, const char* _argv[])
|
||||||
if (!result.second)
|
if (!result.second)
|
||||||
{
|
{
|
||||||
Index3& oldIndex = result.first->second;
|
Index3& oldIndex = result.first->second;
|
||||||
|
BX_UNUSED(oldIndex);
|
||||||
BX_CHECK(oldIndex.m_position == index.m_position
|
BX_CHECK(oldIndex.m_position == index.m_position
|
||||||
&& oldIndex.m_texcoord == index.m_texcoord
|
&& oldIndex.m_texcoord == index.m_texcoord
|
||||||
&& oldIndex.m_normal == index.m_normal
|
&& oldIndex.m_normal == index.m_normal
|
||||||
|
@ -968,7 +969,7 @@ int main(int _argc, const char* _argv[])
|
||||||
write(&writer, vertexData, numVertices, decl, indexData, numIndices, material, primitives);
|
write(&writer, vertexData, numVertices, decl, indexData, numIndices, material, primitives);
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("size: %d\n", writer.seek() );
|
printf("size: %d\n", uint32_t(writer.seek() ) );
|
||||||
writer.close();
|
writer.close();
|
||||||
|
|
||||||
delete [] indexData;
|
delete [] indexData;
|
||||||
|
@ -982,7 +983,7 @@ int main(int _argc, const char* _argv[])
|
||||||
, double(triReorderElapsed)/bx::getHPFrequency()
|
, double(triReorderElapsed)/bx::getHPFrequency()
|
||||||
, double(convertElapsed)/bx::getHPFrequency()
|
, double(convertElapsed)/bx::getHPFrequency()
|
||||||
, num
|
, num
|
||||||
, groups.size()
|
, uint32_t(groups.size() )
|
||||||
, numPrimitives
|
, numPrimitives
|
||||||
, numVertices
|
, numVertices
|
||||||
, numIndices
|
, numIndices
|
||||||
|
|
Loading…
Reference in a new issue