[Scummvm-cvs-logs] scummvm master -> 61f59997bedc61acbe44a71491d0a0f38ff626f6
eriktorbjorn
eriktorbjorn at telia.com
Sun Oct 13 09:18:23 CEST 2013
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:
61f59997be TONY: Initialise _buf and _origBuf in second RMGfxBuffer constructor
Commit: 61f59997bedc61acbe44a71491d0a0f38ff626f6
https://github.com/scummvm/scummvm/commit/61f59997bedc61acbe44a71491d0a0f38ff626f6
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2013-10-13T00:15:59-07:00
Commit Message:
TONY: Initialise _buf and _origBuf in second RMGfxBuffer constructor
I think this fixes CID 1086888, but I haven't been able to find
where in the game this constructor is used.
Changed paths:
engines/tony/gfxcore.cpp
diff --git a/engines/tony/gfxcore.cpp b/engines/tony/gfxcore.cpp
index 410f9b8..3433ad3 100644
--- a/engines/tony/gfxcore.cpp
+++ b/engines/tony/gfxcore.cpp
@@ -117,6 +117,7 @@ RMGfxBuffer::operator void *() {
}
RMGfxBuffer::RMGfxBuffer(int dimx, int dimy, int nBpp) {
+ _origBuf = _buf = NULL;
create(dimx, dimy, nBpp);
}
More information about the Scummvm-git-logs
mailing list