[Scummvm-git-logs] scummvm master -> 6231e6f5b8fec2c7717fdb50f637f2fe731858d1

bluegr noreply at scummvm.org
Sat Sep 13 21:49:45 UTC 2025


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
6231e6f5b8 ALCACHOFA: Use ScummVM GUI dialogs instead of OS message boxes


Commit: 6231e6f5b8fec2c7717fdb50f637f2fe731858d1
    https://github.com/scummvm/scummvm/commit/6231e6f5b8fec2c7717fdb50f637f2fe731858d1
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2025-09-14T00:49:43+03:00

Commit Message:
ALCACHOFA: Use ScummVM GUI dialogs instead of OS message boxes

Changed paths:
    engines/alcachofa/POTFILES
    engines/alcachofa/graphics-opengl.cpp


diff --git a/engines/alcachofa/POTFILES b/engines/alcachofa/POTFILES
index 271127f50bf..929ab2b4ad4 100644
--- a/engines/alcachofa/POTFILES
+++ b/engines/alcachofa/POTFILES
@@ -1 +1,2 @@
+engines/alcachofa/graphics-opengl.cpp
 engines/alcachofa/metaengine.cpp
diff --git a/engines/alcachofa/graphics-opengl.cpp b/engines/alcachofa/graphics-opengl.cpp
index cb288c05155..5d5eb1401df 100644
--- a/engines/alcachofa/graphics-opengl.cpp
+++ b/engines/alcachofa/graphics-opengl.cpp
@@ -24,9 +24,11 @@
 #include "alcachofa/graphics-opengl.h"
 
 #include "common/system.h"
+#include "common/translation.h"
 #include "common/config-manager.h"
 #include "engines/util.h"
 #include "graphics/renderer.h"
+#include "gui/error.h"
 
 using namespace Common;
 using namespace Math;
@@ -125,7 +127,7 @@ OpenGLRenderer::OpenGLRenderer(Point resolution) : _resolution(resolution) {
 	GL_CALL(glDepthMask(GL_FALSE));
 
 	if (!OpenGLContext.NPOTSupported || !OpenGLContext.textureMirrorRepeatSupported) {
-		g_system->messageBox(LogMessageType::kWarning, "Old OpenGL detected, some graphical errors will occur.");
+		GUI::displayErrorDialog(_("Old OpenGL detected, some graphical errors will occur."));
 	}
 }
 




More information about the Scummvm-git-logs mailing list