Fixed compiler warnings.

This commit is contained in:
hiker
2016-10-04 08:16:35 +11:00
parent 9cf88ef874
commit 84a3f5d8b2

View File

@@ -219,7 +219,7 @@ void IrrDriver::computeMatrixesAndCameras(scene::ICameraSceneNode *const camnode
float w = width * UserConfigParams::m_scale_rtts_factor;
float h = height * UserConfigParams::m_scale_rtts_factor;
m_current_screen_size = core::vector2df(w, h);
m_shadow_matrices->computeMatrixesAndCameras(camnode, w, h);
m_shadow_matrices->computeMatrixesAndCameras(camnode, int(w), int(h));
} // computeMatrixesAndCameras
// ----------------------------------------------------------------------------