mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-06 07:12:28 +01:00
Qt/macOS: Fix GUI freezes on Qt 6.8+
This commit is contained in:
parent
dc27047ed4
commit
7d3cf831d5
|
|
@ -435,6 +435,9 @@ QCoreApplication* create_application(std::span<char* const> qt_argv)
|
||||||
{
|
{
|
||||||
qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "0");
|
qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "0");
|
||||||
}
|
}
|
||||||
|
#elif __APPLE__
|
||||||
|
// set the QT_MTL_NO_TRANSACTION variable in order to prevent Qt GUI freeze
|
||||||
|
qputenv("QT_MTL_NO_TRANSACTION", "1");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
bool use_high_dpi = true;
|
bool use_high_dpi = true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue