[vlc-commits] [Git][videolan/vlc][master] qt: check for QT_QUICK_BACKEND before applying the fallback procedure
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Mon Aug 12 10:38:40 UTC 2024
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
15ba5b52 by Fatih Uzunoglu at 2024-08-12T09:32:25+00:00
qt: check for QT_QUICK_BACKEND before applying the fallback procedure
`QSG_RHI_BACKEND` determines the RHI backend, but software or OpenVG
are not part of RHI but rather independent backends.
We should not apply the fallback procedure if `QT_QUICK_BACKEND` is
specified, which might be `software` or `openvg`.
- - - - -
1 changed file:
- modules/gui/qt/qt.cpp
Changes:
=====================================
modules/gui/qt/qt.cpp
=====================================
@@ -902,7 +902,7 @@ static void *Thread( void *obj )
// Windows 7 and Windows 8, since it may not support
// the default graphics api (Direct3D 11.2).
- if (qEnvironmentVariableIsEmpty("QSG_RHI_BACKEND"))
+ if (qEnvironmentVariableIsEmpty("QSG_RHI_BACKEND") && qEnvironmentVariableIsEmpty("QT_QUICK_BACKEND"))
{
if (QOperatingSystemVersion::current() < QOperatingSystemVersion::Windows8_1)
{
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/15ba5b529cadbc36072212eb73037913a2e3c31c
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/15ba5b529cadbc36072212eb73037913a2e3c31c
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list