[Scummvm-git-logs] scummvm master -> 115b30779c97064ea252355fb2c3d12f13feeabf
sev-
noreply at scummvm.org
Tue Aug 15 23:12:39 UTC 2023
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:
115b30779c GRAPHICS: MACGUI: Fix MacText rendering in 32bpp mode
Commit: 115b30779c97064ea252355fb2c3d12f13feeabf
https://github.com/scummvm/scummvm/commit/115b30779c97064ea252355fb2c3d12f13feeabf
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-08-16T01:12:31+02:00
Commit Message:
GRAPHICS: MACGUI: Fix MacText rendering in 32bpp mode
Changed paths:
graphics/macgui/mactext.cpp
diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp
index 9232e058166..bf4372f53ff 100644
--- a/graphics/macgui/mactext.cpp
+++ b/graphics/macgui/mactext.cpp
@@ -1199,7 +1199,7 @@ void MacText::resize(int w, int h) {
setMaxWidth(w);
if (_composeSurface->w != w || _composeSurface->h != h) {
delete _composeSurface;
- _composeSurface = new Graphics::ManagedSurface(w, h);
+ _composeSurface = new Graphics::ManagedSurface(w, h, _wm->_pixelformat);
_dims.right = _dims.left + w;
_dims.bottom = _dims.top + h;
More information about the Scummvm-git-logs
mailing list