From a78a620c158306bb66fec7570f704d6d61c03251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Wed, 2 Mar 2016 18:09:36 -0800 Subject: [PATCH] Cleanup. --- examples/common/debugdraw/debugdraw.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/common/debugdraw/debugdraw.cpp b/examples/common/debugdraw/debugdraw.cpp index f297d1650..c452c1715 100644 --- a/examples/common/debugdraw/debugdraw.cpp +++ b/examples/common/debugdraw/debugdraw.cpp @@ -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