Some drawing mode implementations actually use the color

passed to the pixel format methods. Don't use a dummy color
for drawing dots. (Untested, but should fix Clockwerk time
line objects drawing)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38955 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2010-10-12 09:48:12 +00:00
parent 0128537395
commit 9d570aa4dd

View File

@ -389,8 +389,8 @@ Painter::StrokeLine(BPoint a, BPoint b)
// special case dots
if (fPenSize == 1.0 && !fSubpixelPrecise) {
if (fClippingRegion->Contains(a)) {
agg::rgba8 dummyColor;
fPixelFormat.blend_pixel((int)a.x, (int)a.y, dummyColor, 255);
fPixelFormat.blend_pixel((int)a.x, (int)a.y, fRenderer.color(),
255);
}
} else {
fPath.move_to(a.x, a.y);