Showing the changes to interface/src/Application.cpp (1 of 47 files). Show all
Unified · Split
| @@ -1600,7 +1600,7 @@ void Application::paintGL() { · 1599 unmodified lines | ||
| 1600 | 1600 | Stats::getInstance()->setRenderDetails(renderArgs._details); |
| 1601 | 1601 | // Reset the gpu::Context Stages |
| 1602 | 1602 | // Back to the default framebuffer; |
| 1603 | − gpu::doInBatch(renderArgs._context, [=](gpu::Batch& batch) { | |
| 1603 | + gpu::doInBatch(renderArgs._context, [&](gpu::Batch& batch) { | |
| 1604 | 1604 | batch.resetStages(); |
| 1605 | 1605 | }); |
| 1606 | 1606 | } |
| @@ -3618,7 +3618,7 @@ namespace render { · 2011 unmodified lines | ||
| 3618 | 3618 | PerformanceTimer perfTimer("worldBox"); |
| 3619 | 3619 | |
| 3620 | 3620 | auto& batch = *args->_batch; |
| 3621 | − DependencyManager::get<DeferredLightingEffect>()->bindSimpleProgram(batch); | |
| 3621 | + DependencyManager::get<GeometryCache>()->bindSimpleProgram(batch); | |
| 3622 | 3622 | renderWorldBox(batch); |
| 3623 | 3623 | } |
| 3624 | 3624 | } |