3
0
Fork 0
mirror of https://github.com/JulianGro/overte.git synced 2025-04-13 05:46:04 +02:00

Merge pull request from annabrewer/unreachable-code

Small warning fix
This commit is contained in:
Shannon Romano 2019-06-19 18:06:34 -07:00 committed by GitHub
commit 77d91fce33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,15 +112,17 @@ bool Basic2DWindowOpenGLDisplayPlugin::internalActivate() {
gpu::PipelinePointer Basic2DWindowOpenGLDisplayPlugin::getCompositeScenePipeline() {
#if defined(Q_OS_ANDROID)
return _linearToSRGBPipeline;
#endif
#else
return _SRGBToLinearPipeline;
#endif
}
gpu::Element Basic2DWindowOpenGLDisplayPlugin::getCompositeFBColorSpace() {
#if defined(Q_OS_ANDROID)
return gpu::Element::COLOR_SRGBA_32;
#endif
#else
return gpu::Element::COLOR_RGBA_32;
#endif
}