History

disable splash screen on android

SamGondelman committed 7 years ago

Commit 17dcd8b1 parent bb9a7642 files · +6 −0Browse files

Showing the changes to interface/src/graphics/GraphicsEngine.cpp (1 of 2 files). Show all

Unified · Split

interface/src/graphics/GraphicsEngine.cpp+2−0
@@ -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}