ignore the pattern passed to the drawing functions, keep using the one from SetDrawData

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12087 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2005-03-28 11:08:10 +00:00
parent 55a56d8b0e
commit 94b3e6bfd0
+6 -2
View File
@@ -1158,7 +1158,9 @@ template<class VertexSource>
void
Painter::_StrokePath(VertexSource& path, const pattern& p) const
{
fPatternHandler->SetPattern(p);
// We're now used by app_server and SetDrawData() was called prior to
// this and it means the pattern is already set
// fPatternHandler->SetPattern(p);
// _SetPattern(p);
#if ALIASED_DRAWING
@@ -1183,7 +1185,9 @@ template<class VertexSource>
void
Painter::_FillPath(VertexSource& path, const pattern& p) const
{
fPatternHandler->SetPattern(p);
// We're now used by app_server and SetDrawData() was called prior to
// this and it means the pattern is already set
// fPatternHandler->SetPattern(p);
// _SetPattern(p);
fRasterizer->add_path(path);