[Scummvm-git-logs] scummvm master -> 99471e7bb7ba4bdf61233956ceb0a6b5340e5765

grisenti noreply at scummvm.org
Fri Jul 18 20:50:23 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:
99471e7bb7 HPL1: replace elif with else


Commit: 99471e7bb7ba4bdf61233956ceb0a6b5340e5765
    https://github.com/scummvm/scummvm/commit/99471e7bb7ba4bdf61233956ceb0a6b5340e5765
Author: grisenti (emanuele at grisenti.net)
Date: 2025-07-18T22:49:56+02:00

Commit Message:
HPL1: replace elif with else

Changed paths:
    engines/hpl1/graphics.cpp


diff --git a/engines/hpl1/graphics.cpp b/engines/hpl1/graphics.cpp
index dbc4e4a46de..217b51d1dc9 100644
--- a/engines/hpl1/graphics.cpp
+++ b/engines/hpl1/graphics.cpp
@@ -30,7 +30,7 @@ namespace Hpl1 {
 bool areShadersAvailable() {
 #if defined(USE_OPENGL_SHADERS)
 	return Graphics::Renderer::getAvailableTypes() & Graphics::kRendererTypeOpenGLShaders;
-#elif
+#else
 	return false;
 #endif
 }
@@ -38,7 +38,7 @@ bool areShadersAvailable() {
 Common::ScopedPtr<Graphics::Surface> createViewportScreenshot() {
 #ifdef USE_OPENGL
 	return createGLViewportScreenshot();
-#elif
+#else
 	return nullptr;
 #endif
 }
@@ -46,7 +46,7 @@ Common::ScopedPtr<Graphics::Surface> createViewportScreenshot() {
 bool useOpenGL() {
 #if defined(USE_OPENGL) || defined(USE_OPENGL_GAME)
 	return Graphics::Renderer::getAvailableTypes() & (Graphics::kRendererTypeOpenGLShaders | Graphics::kRendererTypeOpenGL);
-#elif
+#else
 	return false;
 #endif
 }




More information about the Scummvm-git-logs mailing list