Browse Source

Fixed warning.

Бранимир Караџић 5 years ago
parent
commit
1f4da1e459
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/common/camera.cpp

+ 1 - 1
examples/common/camera.cpp

@@ -159,7 +159,7 @@ struct Camera
 		m_mouseLast.m_mz = m_mouseNow.m_mz;
 		m_mouseNow.m_mz  = _mouseState.m_mz;
 
-		const int32_t deltaZ = float(m_mouseNow.m_mz - m_mouseLast.m_mz);
+		const float deltaZ = float(m_mouseNow.m_mz - m_mouseLast.m_mz);
 
 		if (m_mouseDown)
 		{