QT Frontend: Migrate to QOpenGLWindow

This commit is contained in:
James Rowe
2019-01-11 21:06:34 -07:00
parent 125599c2d5
commit c6a0ab9792
4 changed files with 113 additions and 30 deletions

View File

@ -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