Skip to content
Snippets Groups Projects
Commit beb46ff6 authored by Edric Milaret's avatar Edric Milaret Committed by gerrit2
Browse files

video: return the correct colorspace

-Following changes in the daemon

Refs #77150

Change-Id: I725f7071251c834fb86e2e9fce2ab10c5dfae39e
parent 663eacf8
No related branches found
No related tags found
No related merge requests found
......@@ -86,7 +86,11 @@ void Video::DirectRenderer::onNewFrame(const std::shared_ptr<std::vector<unsigne
Video::Renderer::ColorSpace Video::DirectRenderer::colorSpace() const
{
#ifdef Q_OS_DARWIN
return Video::Renderer::ColorSpace::RGBA;
#else
return Video::Renderer::ColorSpace::BGRA;
#endif
}
#include <directrenderer.moc>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment