- Fixed: The background on some bars was cliped incorrectly.

SVN r3065 (trunk)
This commit is contained in:
Braden Obrzut 2010-12-20 22:29:15 +00:00
parent fb7a45efe4
commit bada44a291

View file

@ -1190,7 +1190,7 @@ public:
}
if(clearDontDraw)
screen->Clear(static_cast<int>(MAX<double>(dx, dcx)), static_cast<int>(MAX<double>(dy, dcy)), static_cast<int>(dcr), static_cast<int>(dcb), GPalette.BlackIndex, 0);
screen->Clear(static_cast<int>(MAX<double>(dx, dcx)), static_cast<int>(MAX<double>(dy, dcy)), static_cast<int>(MIN<double>(dcr,w+MAX<double>(dx, dcx))), static_cast<int>(MIN<double>(dcb,MAX<double>(dy, dcy)+h)), GPalette.BlackIndex, 0);
else
{
if(alphaMap)