Fixed warnings

This commit is contained in:
Robert Osfield
2014-01-24 15:40:18 +00:00
parent 91b7104a92
commit eb56080277
5 changed files with 29 additions and 22 deletions

View File

@@ -973,7 +973,7 @@ void ViewDependentShadowMap::cull(osgUtil::CullVisitor& cv)
if (settings->getDebugDraw())
{
camera->getViewport()->x() = pos_x;
pos_x += camera->getViewport()->width() + 40;
pos_x += static_cast<unsigned int>(camera->getViewport()->width()) + 40;
}
// transform polytope in model coords into light spaces eye coords.