backends/drm: also use modifiers by default for virtual outputs
This commit is contained in:
parent
f02a6fd128
commit
d83121dbe4
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ bool VirtualEglGbmLayer::createGbmSurface()
|
|||
{
|
||||
static bool modifiersEnvSet = false;
|
||||
static const bool modifiersEnv = qEnvironmentVariableIntValue("KWIN_DRM_USE_MODIFIERS", &modifiersEnvSet) != 0;
|
||||
const bool allowModifiers = ((m_eglBackend->gpu()->isNVidia() && !modifiersEnvSet) || (modifiersEnvSet && modifiersEnv));
|
||||
const bool allowModifiers = !modifiersEnvSet || modifiersEnv;
|
||||
|
||||
const auto tranches = m_eglBackend->dmabuf()->tranches();
|
||||
for (const auto &tranche : tranches) {
|
||||
|
|
Loading…
Reference in a new issue