Recommend OpenGL2 compositor for virtualbox and vmware

This ensures that those compositors are not forced to XRender.

BUG: 337560
FIXED-IN: 5.0.1
This commit is contained in:
Martin Gräßlin 2014-07-22 13:21:23 +02:00
parent 79d29096f2
commit 7f3b349ab3

View file

@ -849,10 +849,12 @@ void GLPlatform::detect(OpenGLPlatformInterface platformInterface)
if (isVirtualBox()) { if (isVirtualBox()) {
m_virtualMachine = true; m_virtualMachine = true;
m_recommendedCompositor = OpenGL2Compositing;
} }
if (isVMware()) { if (isVMware()) {
m_virtualMachine = true; m_virtualMachine = true;
m_recommendedCompositor = OpenGL2Compositing;
} }
} }