Forgot to reset fBitmap to NULL.

Thanks to Rene for reviewing.
This commit is contained in:
Adrien Destugues
2015-01-23 15:15:30 +01:00
parent 8bcd69044c
commit 0e652ab2dc
@@ -57,6 +57,7 @@ BitmapDrawingEngine::SetSize(int32 newWidth, int32 newHeight)
}
fBitmap->ReleaseReference();
fBitmap = NULL;
if (newWidth <= 0 || newHeight <= 0)
return B_OK;