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:
Torbjörn Andersson 2013-10-13 09:15:59 +02:00
parent f1797a3820
commit 61f59997be

View File

@ -117,6 +117,7 @@ RMGfxBuffer::operator void *() {
}
RMGfxBuffer::RMGfxBuffer(int dimx, int dimy, int nBpp) {
_origBuf = _buf = NULL;
create(dimx, dimy, nBpp);
}