[Scummvm-git-logs] scummvm master -> 7ceb1e518fdadb7c8f5932691f184fed2e80a3c9

digitall noreply at scummvm.org
Tue Jan 6 05:01:09 UTC 2026


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:
7ceb1e518f BACKENDS: SDL: Fix Debug Messages For SDL Video Antialiasing Detection


Commit: 7ceb1e518fdadb7c8f5932691f184fed2e80a3c9
    https://github.com/scummvm/scummvm/commit/7ceb1e518fdadb7c8f5932691f184fed2e80a3c9
Author: D G Turner (digitall at scummvm.org)
Date: 2026-01-06T04:59:19Z

Commit Message:
BACKENDS: SDL: Fix Debug Messages For SDL Video Antialiasing Detection

The first path through this is followed for SDL2 and SDL3.
The latter path is only for SDL1, so have corrected debug messages.

Changed paths:
    backends/platform/sdl/sdl.cpp


diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp
index e53fdd5e3e0..4fd0ee7232a 100644
--- a/backends/platform/sdl/sdl.cpp
+++ b/backends/platform/sdl/sdl.cpp
@@ -505,11 +505,11 @@ void OSystem_SDL::detectAntiAliasingSupport() {
 
 				if (actualSamples == requestedSamples) {
 					_antiAliasLevels.push_back(requestedSamples);
-					debug(2, "Yes from SDL3");
+					debug(2, "Yes");
 				}
 				else
 				{
-					debug(2, "No from SDL3");
+					debug(2, "No");
 				}
 
 #if SDL_VERSION_ATLEAST(3, 0, 0)
@@ -520,14 +520,14 @@ void OSystem_SDL::detectAntiAliasingSupport() {
 			}
 			else
 			{
-				debug(2, "No GL Context from SDL3");
+				debug(2, "No GL Context");
 			}
 
 			SDL_DestroyWindow(window);
 		}
 		else
 		{
-			debug(2, "No Window from SDL3");
+			debug(2, "No Window");
 		}
 #else
 		SDL_putenv(const_cast<char *>("SDL_VIDEO_WINDOW_POS=9000,9000"));
@@ -539,11 +539,11 @@ void OSystem_SDL::detectAntiAliasingSupport() {
 
 		if (actualSamples == requestedSamples) {
 			_antiAliasLevels.push_back(requestedSamples);
-			debug(2, "Yes from SDL2");
+			debug(2, "Yes from SDL1");
 		}
 		else
 		{
-			debug(2, "No from SDL2");
+			debug(2, "No from SDL1");
 		}
 #endif
 




More information about the Scummvm-git-logs mailing list