Showing the changes to interface/src/Application.cpp (1 of 2 files). Show all
Unified · Split
| @@ -3330,10 +3330,11 @@ namespace render { · 3329 unmodified lines | |||
| 3330 | PerformanceTimer perfTimer("atmosphere"); | 3330 | PerformanceTimer perfTimer("atmosphere"); |
| 3331 | PerformanceWarning warn(Menu::getInstance()->isOptionChecked(MenuOption::PipelineWarnings), | 3331 | PerformanceWarning warn(Menu::getInstance()->isOptionChecked(MenuOption::PipelineWarnings), |
| 3332 | "Application::displaySide() ... atmosphere..."); | 3332 | "Application::displaySide() ... atmosphere..."); |
| 3333 | //gpu::Batch batch; | 3333 | gpu::Batch batch; |
| 3334 | background->_environment->renderAtmospheres(batch, *(args->_viewFrustum)); | 3334 | //DependencyManager::get<DeferredLightingEffect>()->renderSolidSphere(batch,0.5f, 100, 50, glm::vec4(1.0f, 0.0f, 0.0f, 1.0f)); //Draw a unit sphere |
| 3335 | //gpu::GLBackend::renderBatch(batch, true); | 3335 | background->_environment->renderAtmospheres(batch, *(args->_viewFrustum)); |
| 3336 | //glUseProgram(0); | 3336 | gpu::GLBackend::renderBatch(batch, true); |
| 3337 | glUseProgram(0); | ||
| 3337 | 3338 | ||
| 3338 | } | 3339 | } |
| 3339 | 3340 | ||