UI: Disable QT's implicit colourspace conversion on macOS
Fixes issues as described in https://bugreports.qt.io/browse/QTBUG-47660 and halves CPU usage of OBS' UI by about 40-50%.
This commit is contained in:
parent
6460579fb6
commit
cab32e7e67
3 changed files with 12 additions and 0 deletions
|
|
@ -1867,6 +1867,10 @@ void OBSBasic::OBSInit()
|
|||
SystemTray(true);
|
||||
#endif
|
||||
|
||||
#ifdef __APPLE__
|
||||
disableColorSpaceConversion(this);
|
||||
#endif
|
||||
|
||||
bool has_last_version = config_has_user_value(App()->GlobalConfig(),
|
||||
"General", "LastVersion");
|
||||
bool first_run =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue