GRAPHICS: MACGUI: More 32bpp enhancements

This commit is contained in:
Eugene Sandulenko 2020-08-14 10:45:34 +02:00
parent 66f5aadf4e
commit ee3e1e3af5

View File

@ -43,7 +43,7 @@ MacWidget::MacWidget(MacWidget *parent, int x, int y, int w, int h, MacWindowMan
if (parent)
parent->_children.push_back(this);
_composeSurface = new ManagedSurface(_dims.width(), _dims.height());
_composeSurface = new ManagedSurface(_dims.width(), _dims.height(), _wm->_pixelformat);
_composeSurface->clear(_bgcolor);
_active = false;