aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/main.cpp
diff options
context:
space:
mode:
authorJames Rowe <jroweboy@gmail.com>2019-01-11 21:06:34 -0700
committerJames Rowe <jroweboy@gmail.com>2019-01-21 16:00:01 -0700
commitc6a0ab9792390fefa816ace846e3a76a85e8b4d5 (patch)
tree5bb2281e4ca19bb6f1a809282047ddb61b0b0d63 /src/yuzu/main.cpp
parent125599c2d51fba0bb9466d92382631ed7f34bed9 (diff)
QT Frontend: Migrate to QOpenGLWindow
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r--src/yuzu/main.cpp3
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