Browse Source

Fixed build.

Branimir Karadžić 8 years ago
parent
commit
ae6f46d2a8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/02-metaballs/metaballs.cpp

+ 1 - 1
examples/02-metaballs/metaballs.cpp

@@ -758,7 +758,7 @@ public:
 			bgfx::submit(0, m_program);
 			bgfx::submit(0, m_program);
 
 
 			// Display stats.
 			// Display stats.
-			int row = 18;
+			uint16_t row = 18;
 			bgfx::dbgTextPrintf(1, row++, 0x0f, "Num vertices: %5d (%6.4f%%)", numVertices, float(numVertices)/maxVertices * 100);
 			bgfx::dbgTextPrintf(1, row++, 0x0f, "Num vertices: %5d (%6.4f%%)", numVertices, float(numVertices)/maxVertices * 100);
 			bgfx::dbgTextPrintf(1, row++, 0x0f, "      Update: % 7.3f[ms]", double(profUpdate)*toMs);
 			bgfx::dbgTextPrintf(1, row++, 0x0f, "      Update: % 7.3f[ms]", double(profUpdate)*toMs);
 			bgfx::dbgTextPrintf(1, row++, 0x0f, "Calc normals: % 7.3f[ms]", double(profNormal)*toMs);
 			bgfx::dbgTextPrintf(1, row++, 0x0f, "Calc normals: % 7.3f[ms]", double(profNormal)*toMs);