This commit is contained in:
Branimir Karadžić 2016-03-02 18:09:36 -08:00
parent 1fa80e7478
commit a78a620c15

View File

@ -366,7 +366,7 @@ struct DebugDraw
{ {
Mesh::Enum id = Mesh::Enum(Mesh::Sphere0+mesh); 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 numVertices = genSphere(tess);
const uint32_t numIndices = numVertices; 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 , NULL
, 0 , 0
, trilist , trilist