diff options
author | James Rowe <jroweboy@gmail.com> | 2019-01-11 21:06:34 -0700 |
---|---|---|
committer | James Rowe <jroweboy@gmail.com> | 2019-01-21 16:00:01 -0700 |
commit | c6a0ab9792390fefa816ace846e3a76a85e8b4d5 (patch) | |
tree | 5bb2281e4ca19bb6f1a809282047ddb61b0b0d63 /src/yuzu/main.cpp | |
parent | 125599c2d51fba0bb9466d92382631ed7f34bed9 (diff) |
QT Frontend: Migrate to QOpenGLWindow
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r-- | src/yuzu/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 2c3e27c2e7..c8db7b907a 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -2032,7 +2032,8 @@ int main(int argc, char* argv[]) { QCoreApplication::setOrganizationName("yuzu team"); QCoreApplication::setApplicationName("yuzu"); - QApplication::setAttribute(Qt::AA_DontCheckOpenGLContextThreadAffinity); + // Enables the core to make the qt created contexts current on std::threads + QCoreApplication::setAttribute(Qt::AA_DontCheckOpenGLContextThreadAffinity); QApplication app(argc, argv); // Qt changes the locale and causes issues in float conversion using std::to_string() when |