Showing the changes to interface/src/graphics/GraphicsEngine.cpp (1 of 2 files). Show all
Unified · Split
| @@ -56,9 +56,11 @@ void GraphicsEngine::initializeGPU(GLWidget* glwidget) { · 55 unmodified lines | |||
| 56 | glwidget->makeCurrent(); | 56 | glwidget->makeCurrent(); |
| 57 | _gpuContext = std::make_shared<gpu::Context>(); | 57 | _gpuContext = std::make_shared<gpu::Context>(); |
| 58 | 58 | ||
| 59 | #ifndef Q_OS_ANDROID | ||
| 59 | _gpuContext->pushProgramsToSync(shader::allPrograms(), [this] { | 60 | _gpuContext->pushProgramsToSync(shader::allPrograms(), [this] { |
| 60 | _programsCompiled.store(true); | 61 | _programsCompiled.store(true); |
| 61 | }, 1); | 62 | }, 1); |
| 63 | #endif | ||
| 62 | 64 | ||
| 63 | DependencyManager::get<TextureCache>()->setGPUContext(_gpuContext); | 65 | DependencyManager::get<TextureCache>()->setGPUContext(_gpuContext); |
| 64 | } | 66 | } |