[Scummvm-git-logs] scummvm master -> 26938f601fed6cef8bf2f16ba8e417aadcda25d2

sev- noreply at scummvm.org
Fri Oct 25 17:14:04 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:
26938f601f CRAB: Fix regresion from ManagedSurface rwrite. Bug #15421


Commit: 26938f601fed6cef8bf2f16ba8e417aadcda25d2
    https://github.com/scummvm/scummvm/commit/26938f601fed6cef8bf2f16ba8e417aadcda25d2
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2024-10-25T19:13:21+02:00

Commit Message:
CRAB: Fix regresion from ManagedSurface rwrite. Bug #15421

Changed paths:
    engines/crab/image/Image.cpp


diff --git a/engines/crab/image/Image.cpp b/engines/crab/image/Image.cpp
index 562b7f5dbeb..1377b603ca7 100644
--- a/engines/crab/image/Image.cpp
+++ b/engines/crab/image/Image.cpp
@@ -59,6 +59,7 @@ bool Image::load(Graphics::Surface *surface) {
 bool Image::load(Graphics::ManagedSurface *surface) {
 	deleteImage();
 
+	_texture = new Graphics::ManagedSurface();
 	_texture->copyFrom(*surface);
 
 	_w = surface->w;




More information about the Scummvm-git-logs mailing list