diff options
author | FernandoS27 <fsahmkow27@gmail.com> | 2018-11-17 23:04:50 +0100 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2018-11-21 16:43:17 +0100 |
commit | 377c60645c493aabff83eaa245f3431a261657cd (patch) | |
tree | badca5bb43114406004a09d610e1d8c959fffad8 /src | |
parent | Merge pull request #1667 from DarkLordZach/swkbd (diff) | |
download | yuzu-377c60645c493aabff83eaa245f3431a261657cd.tar yuzu-377c60645c493aabff83eaa245f3431a261657cd.tar.gz yuzu-377c60645c493aabff83eaa245f3431a261657cd.tar.bz2 yuzu-377c60645c493aabff83eaa245f3431a261657cd.tar.lz yuzu-377c60645c493aabff83eaa245f3431a261657cd.tar.xz yuzu-377c60645c493aabff83eaa245f3431a261657cd.tar.zst yuzu-377c60645c493aabff83eaa245f3431a261657cd.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/yuzu/bootmanager.cpp | 2 | ||||
-rw-r--r-- | src/yuzu/main.cpp | 4 | ||||
-rw-r--r-- | src/yuzu_cmd/emu_window/emu_window_sdl2.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp index 39eef8858..384e17921 100644 --- a/src/yuzu/bootmanager.cpp +++ b/src/yuzu/bootmanager.cpp @@ -310,7 +310,7 @@ void GRenderWindow::InitRenderTarget() { // TODO: One of these flags might be interesting: WA_OpaquePaintEvent, WA_NoBackground, // WA_DontShowOnScreen, WA_DeleteOnClose QGLFormat fmt; - fmt.setVersion(3, 3); + fmt.setVersion(4, 3); fmt.setProfile(QGLFormat::CoreProfile); fmt.setSwapInterval(false); diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 9e13bbf7c..451a3fafd 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -562,8 +562,8 @@ bool GMainWindow::LoadROM(const QString& filename) { render_window->MakeCurrent(); if (!gladLoadGL()) { - QMessageBox::critical(this, tr("Error while initializing OpenGL 3.3 Core!"), - tr("Your GPU may not support OpenGL 3.3, or you do not " + QMessageBox::critical(this, tr("Error while initializing OpenGL 4.3 Core!"), + tr("Your GPU may not support OpenGL 4.3, or you do not " "have the latest graphics driver.")); return false; } diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp index a9ad92a80..d53d2e3ce 100644 --- a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp +++ b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp @@ -157,7 +157,7 @@ EmuWindow_SDL2::EmuWindow_SDL2(bool fullscreen) { exit(1); } - SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 3); + SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 4); SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 3); SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE); SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1); |