Branimir Karadžić 9 年 前
コミット
a78a620c15
1 ファイル変更2 行追加2 行削除
  1. 2 2
      examples/common/debugdraw/debugdraw.cpp

+ 2 - 2
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