GRAPHICS: MACGUI: Made MacDrawPixel bpp-aware

This commit is contained in:
Eugene Sandulenko 2020-08-15 16:08:32 +02:00
parent 43c3407557
commit e604c97607
6 changed files with 52 additions and 38 deletions

View file

@ -374,7 +374,7 @@ void MacWindow::drawSimpleBorder(ManagedSurface *g) {
Common::Rect rr(rx1, ry1, rx2, ry2);
MacPlotData pd(g, nullptr, &_wm->getPatterns(), 1, 0, 0, 1, _wm->_colorBlack, true);
Graphics::drawFilledRect(rr, _wm->_colorBlack, Graphics::macDrawPixel, &pd);
Graphics::drawFilledRect(rr, _wm->_colorBlack, _wm->getDrawPixel(), &pd);
}
}
if (closeable) {