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

sev- sev at scummvm.org
Sat Jul 21 12:52:40 CEST 2018


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:
f515393a74 GRAPHICS: MACGUI: Fix color searching


Commit: f515393a74d5c28fcf6d654435727784f1282be0
    https://github.com/scummvm/scummvm/commit/f515393a74d5c28fcf6d654435727784f1282be0
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2018-07-21T12:52:32+02:00

Commit Message:
GRAPHICS: MACGUI: Fix color searching

Changed paths:
    graphics/macgui/macwindowmanager.cpp


diff --git a/graphics/macgui/macwindowmanager.cpp b/graphics/macgui/macwindowmanager.cpp
index 5dcea4d..fea6565 100644
--- a/graphics/macgui/macwindowmanager.cpp
+++ b/graphics/macgui/macwindowmanager.cpp
@@ -505,8 +505,8 @@ void MacWindowManager::passPalette(const byte *pal, uint size) {
 		p += 3;
 	}
 
-	_colorWhite = brightest;
-	_colorBlack = darkest;
+	_colorWhite = bi;
+	_colorBlack = di;
 }
 
 void MacWindowManager::pauseEngine(bool pause) {





More information about the Scummvm-git-logs mailing list