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

aquadran aquadran at gmail.com
Sun Oct 4 12:02:53 UTC 2020


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:
7c5e1c01ed GRAPHICS: Fixed caching alpha information in YUV to RGB conversion code.


Commit: 7c5e1c01ed4645df46ee6512d159c084daf05cac
    https://github.com/scummvm/scummvm/commit/7c5e1c01ed4645df46ee6512d159c084daf05cac
Author: Paweł Kołodziejski (aquadran at users.sourceforge.net)
Date: 2020-10-04T14:02:44+02:00

Commit Message:
GRAPHICS: Fixed caching alpha information in YUV to RGB conversion code.

Changed paths:
    graphics/yuv_to_rgb.cpp


diff --git a/graphics/yuv_to_rgb.cpp b/graphics/yuv_to_rgb.cpp
index 3222ca7315..7f37ba0578 100644
--- a/graphics/yuv_to_rgb.cpp
+++ b/graphics/yuv_to_rgb.cpp
@@ -197,6 +197,7 @@ const YUVToRGBLookup *YUVToRGBManager::getLookup(Graphics::PixelFormat format, Y
 	if (_lookup && _lookup->getFormat() == format && _lookup->getScale() == scale && _alphaMode == alphaMode)
 		return _lookup;
 
+	_alphaMode = alphaMode;
 	delete _lookup;
 	_lookup = new YUVToRGBLookup(format, scale, alphaMode);
 	return _lookup;




More information about the Scummvm-git-logs mailing list