parent
84ed7b4bb4
commit
6f3acb9163
@ -56,8 +56,7 @@ BitmapDrawingEngine::SetSize(int32 newWidth, int32 newHeight)
|
||||
fHWInterface = NULL;
|
||||
}
|
||||
|
||||
delete fBitmap;
|
||||
fBitmap = NULL;
|
||||
fBitmap.Unset();
|
||||
|
||||
if (newWidth <= 0 || newHeight <= 0)
|
||||
return B_OK;
|
||||
|
@ -25,7 +25,7 @@ virtual ~BitmapDrawingEngine();
|
||||
private:
|
||||
color_space fColorSpace;
|
||||
BitmapHWInterface* fHWInterface;
|
||||
UtilityBitmap* fBitmap;
|
||||
BReference<UtilityBitmap> fBitmap;
|
||||
BRegion fClipping;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user