From 48d5ec5c0026c35bcb70145f077a53e932a0ace6 Mon Sep 17 00:00:00 2001 From: GPUCode <47210458+GPUCode@users.noreply.github.com> Date: Tue, 23 Aug 2022 19:54:43 +0300 Subject: [PATCH] core: Update GL result enum Co-authored-by: SachinVin <26602104+SachinVin@users.noreply.github.com> --- src/citra_qt/main.cpp | 6 +++--- src/core/core.cpp | 2 +- src/core/core.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index 4f5ab0740..b10003dbd 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -921,7 +921,7 @@ bool GMainWindow::LoadROM(const QString& filename) { "have the latest graphics driver."); if (!QOpenGLContext::globalShareContext()->versionFunctions()) { - QMessageBox::critical(this, below_gl33_title, below_gl33_message); + QMessageBox::critical(this, below_gl43_title, below_gl43_message); return false; } @@ -991,8 +991,8 @@ bool GMainWindow::LoadROM(const QString& filename) { "proper drivers for your graphics card from the manufacturer's website.")); break; - case Core::System::ResultStatus::ErrorVideoCore_ErrorBelowGL33: - QMessageBox::critical(this, below_gl33_title, below_gl33_message); + case Core::System::ResultStatus::ErrorVideoCore_ErrorBelowGL43: + QMessageBox::critical(this, below_gl43_title, below_gl43_message); break; default: diff --git a/src/core/core.cpp b/src/core/core.cpp index 960e5db2b..879891e4c 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -423,7 +423,7 @@ System::ResultStatus System::Init(Frontend::EmuWindow& emu_window, u32 system_mo case VideoCore::ResultStatus::ErrorGenericDrivers: return ResultStatus::ErrorVideoCore_ErrorGenericDrivers; case VideoCore::ResultStatus::ErrorBelowGL43: - return ResultStatus::ErrorVideoCore_ErrorBelowGL33; + return ResultStatus::ErrorVideoCore_ErrorBelowGL43; default: return ResultStatus::ErrorVideoCore; } diff --git a/src/core/core.h b/src/core/core.h index ed9d3b4f1..47edb49f3 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -87,8 +87,8 @@ public: ErrorVideoCore, ///< Error in the video core ErrorVideoCore_ErrorGenericDrivers, ///< Error in the video core due to the user having /// generic drivers installed - ErrorVideoCore_ErrorBelowGL33, ///< Error in the video core due to the user not having - /// OpenGL 3.3 or higher + ErrorVideoCore_ErrorBelowGL43, ///< Error in the video core due to the user not having + /// OpenGL 4.3 or higher ErrorSavestate, ///< Error saving or loading ShutdownRequested, ///< Emulated program requested a system shutdown ErrorUnknown ///< Any other error