[Scummvm-git-logs] scummvm master -> e2438c2fa0c5b4561814ab64f731c605d1043eb5

bluegr noreply at scummvm.org
Thu Oct 24 15:24:40 UTC 2024


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

Summary:
e2438c2fa0 BAGEL: Allow using pixel formats other than RGB565


Commit: e2438c2fa0c5b4561814ab64f731c605d1043eb5
    https://github.com/scummvm/scummvm/commit/e2438c2fa0c5b4561814ab64f731c605d1043eb5
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2024-10-24T18:24:37+03:00

Commit Message:
BAGEL: Allow using pixel formats other than RGB565

Changed paths:
    engines/bagel/spacebar/spacebar.cpp


diff --git a/engines/bagel/spacebar/spacebar.cpp b/engines/bagel/spacebar/spacebar.cpp
index 19d0d122fe8..dc316836749 100644
--- a/engines/bagel/spacebar/spacebar.cpp
+++ b/engines/bagel/spacebar/spacebar.cpp
@@ -220,8 +220,7 @@ ErrorCode SpaceBarEngine::ShutDownSoundSystem() {
 
 Common::Error SpaceBarEngine::run() {
 	// Initialize graphics mode
-	Graphics::PixelFormat format(2, 5, 6, 5, 0, 11, 5, 0, 0);
-	initGraphics(640, 480, &format);
+	initGraphics(640, 480, nullptr);
 
 	// Initialize systems
 	_screen = new Graphics::Screen();




More information about the Scummvm-git-logs mailing list