Removed warnings on mac and ubuntu

This commit is contained in:
Olivier Prat 2018-02-02 18:07:35 +01:00
parent e9747e9d85
commit 8a011036ef
2 changed files with 0 additions and 3 deletions

View file

@ -208,8 +208,6 @@ void LightStage::Shadow::setKeylightFrustum(const ViewFrustum& viewFrustum,
// Position the keylight frustum
auto position = viewFrustum.getPosition() - (nearDepth + farDepth)*lightDirection;
// Update the buffer
auto& schema = _schemaBuffer.edit<Schema>();
for (auto& cascade : _cascades) {
cascade._frustum->setOrientation(orientation);
cascade._frustum->setPosition(position);

View file

@ -390,7 +390,6 @@ void CullShapeBounds::run(const RenderContextPointer& renderContext, const Input
void FetchSpatialSelection::run(const RenderContextPointer& renderContext,
const Inputs& inputs, ItemBounds& outItems) {
assert(renderContext->args);
RenderArgs* args = renderContext->args;
auto& scene = renderContext->_scene;
auto& inSelection = inputs.get0();