From ee3e1e3af50133c00aaf5e42ad12d57687895714 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 14 Aug 2020 10:45:34 +0200 Subject: [PATCH] GRAPHICS: MACGUI: More 32bpp enhancements --- graphics/macgui/macwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/macgui/macwidget.cpp b/graphics/macgui/macwidget.cpp index 4367fd54274..321e9daeb9f 100644 --- a/graphics/macgui/macwidget.cpp +++ b/graphics/macgui/macwidget.cpp @@ -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;