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 | 56 | glwidget->makeCurrent(); |
| 57 | 57 | _gpuContext = std::make_shared<gpu::Context>(); |
| 58 | 58 | |
| 59 | +#ifndef Q_OS_ANDROID | |
| 59 | 60 | _gpuContext->pushProgramsToSync(shader::allPrograms(), [this] { |
| 60 | 61 | _programsCompiled.store(true); |
| 61 | 62 | }, 1); |
| 63 | +#endif | |
| 62 | 64 | |
| 63 | 65 | DependencyManager::get<TextureCache>()->setGPUContext(_gpuContext); |
| 64 | 66 | } |