Parcourir la source

Fixed warning.

Бранимир Караџић il y a 5 ans
Parent
commit
adc701d611
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      examples/42-bunnylod/bunnylod.cpp

+ 1 - 1
examples/42-bunnylod/bunnylod.cpp

@@ -217,7 +217,7 @@ public:
 	}
 
 	void updateIndexBuffer() {
-		int verts = bx::easeInQuad(m_LOD) * m_totalVertices;
+		int verts = int(bx::easeInQuad(m_LOD) * m_totalVertices);
 		if (verts <= 0)
 			return;