mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-11-10 05:34:17 +00:00
Revert "Avoid using ANGLE on debug builds due to assert issues on Qt 5.12.2"
Qt 5.12.3 fixes the bug. https://bugreports.qt.io/browse/QTBUG-74467
This reverts commit 26bdc3e1d5
.
This commit is contained in:
parent
13d933fc07
commit
10f6b73cad
1 changed files with 1 additions and 4 deletions
|
@ -290,10 +290,7 @@ int main(int argc, char *argv[])
|
|||
// password prompts on macOS.
|
||||
qputenv("QT_SSL_USE_TEMPORARY_KEYCHAIN", "1");
|
||||
|
||||
// The debug build of ANGLE on Qt 5.12.2 triggers all sorts of asserts
|
||||
// even simply creating an empty Qt Quick window and then trying to close
|
||||
// the program. Avoid using ANGLE for debug builds until the issue is fixed.
|
||||
#if defined(Q_OS_WIN32) && !defined(QT_DEBUG)
|
||||
#ifdef Q_OS_WIN32
|
||||
if (!qEnvironmentVariableIsSet("QT_OPENGL")) {
|
||||
// On Windows, use ANGLE so we don't have to load OpenGL
|
||||
// user-mode drivers into our app. OGL drivers (especially Intel)
|
||||
|
|
Loading…
Reference in a new issue