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:
parent
79d29096f2
commit
7f3b349ab3
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue