Removed some commented code of mine as it's no longer needed
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12267 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1661,16 +1661,12 @@ void ServerWindow::DispatchGraphicsMessage(int32 code, LinkMsgReader &link)
|
|||||||
BRegion rreg(cl->fVisible);
|
BRegion rreg(cl->fVisible);
|
||||||
if (fWinBorder->fInUpdate)
|
if (fWinBorder->fInUpdate)
|
||||||
rreg.IntersectWith(&fWinBorder->yUpdateReg);
|
rreg.IntersectWith(&fWinBorder->yUpdateReg);
|
||||||
//if (!fWinBorder->yUpdateReg.Frame().IsValid() && fWinBorder->fInUpdate)
|
|
||||||
//{
|
|
||||||
// printf("ADi: FRAME INVALID!!!!\n");
|
|
||||||
// fWinBorder->yUpdateReg.PrintToStream();
|
|
||||||
//}
|
|
||||||
desktop->GetDisplayDriver()->ConstrainClippingRegion(&rreg);
|
desktop->GetDisplayDriver()->ConstrainClippingRegion(&rreg);
|
||||||
// rgb_color rrr = cl->fLayerData->viewcolor.GetColor32();
|
// rgb_color rrr = cl->fLayerData->viewcolor.GetColor32();
|
||||||
// RGBColor c(rand()%255,rand()%255,rand()%255);
|
// RGBColor c(rand()%255,rand()%255,rand()%255);
|
||||||
// desktop->GetDisplayDriver()->FillRect(BRect(0,0,639,479), c);
|
// desktop->GetDisplayDriver()->FillRect(BRect(0,0,639,479), c);
|
||||||
// snooze(500000);
|
|
||||||
switch (code)
|
switch (code)
|
||||||
{
|
{
|
||||||
case AS_LAYER_SET_HIGH_COLOR:
|
case AS_LAYER_SET_HIGH_COLOR:
|
||||||
|
|||||||
Reference in New Issue
Block a user