mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 14:50:17 +00:00
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.
This commit is contained in:
parent
f1797a3820
commit
61f59997be
@ -117,6 +117,7 @@ RMGfxBuffer::operator void *() {
|
||||
}
|
||||
|
||||
RMGfxBuffer::RMGfxBuffer(int dimx, int dimy, int nBpp) {
|
||||
_origBuf = _buf = NULL;
|
||||
create(dimx, dimy, nBpp);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user