whoops, I broke MiniTerminal, temporary fix until I find the real problem.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12409 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2005-04-15 10:30:18 +00:00
parent 4da1508aa9
commit 2b9de7c55a
1 changed files with 6 additions and 2 deletions

View File

@ -1018,7 +1018,7 @@ void
Painter::_UpdateDrawingMode()
{
if (fPixelFormat) {
DrawingMode* mode = NULL;
/* DrawingMode* mode = NULL;
pattern p = *fPatternHandler->GetR5Pattern();
if (p == B_SOLID_HIGH) {
_SetRendererColor(fPatternHandler->HighColor().GetColor32());
@ -1038,7 +1038,11 @@ Painter::_UpdateDrawingMode()
fAlphaFncMode,
false);
}
fPixelFormat->set_drawing_mode(mode);
fPixelFormat->set_drawing_mode(mode);*/
fPixelFormat->set_drawing_mode(DrawingModeFactory::DrawingModeFor(fDrawingMode,
fAlphaSrcMode,
fAlphaFncMode,
false));
}
}