mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 10:35:43 -05:00
Cleanup.
This commit is contained in:
parent
1fa80e7478
commit
a78a620c15
1 changed files with 2 additions and 2 deletions
|
@ -366,7 +366,7 @@ struct DebugDraw
|
|||
{
|
||||
Mesh::Enum id = Mesh::Enum(Mesh::Sphere0+mesh);
|
||||
|
||||
const uint32_t tess = 3-mesh;
|
||||
const uint8_t tess = uint8_t(3-mesh);
|
||||
const uint32_t numVertices = genSphere(tess);
|
||||
const uint32_t numIndices = numVertices;
|
||||
|
||||
|
@ -382,7 +382,7 @@ struct DebugDraw
|
|||
|
||||
|
||||
|
||||
uint16_t numLineListIndices = bgfx::topologyConvert(bgfx::TopologyConvert::TriListToLineList
|
||||
uint32_t numLineListIndices = bgfx::topologyConvert(bgfx::TopologyConvert::TriListToLineList
|
||||
, NULL
|
||||
, 0
|
||||
, trilist
|
||||
|
|
Loading…
Reference in a new issue