diff --git a/src/servers/app/server/ViewDriver.cpp b/src/servers/app/server/ViewDriver.cpp index 409c6a7285..d66ee7014f 100644 --- a/src/servers/app/server/ViewDriver.cpp +++ b/src/servers/app/server/ViewDriver.cpp @@ -1064,14 +1064,9 @@ void ViewDriver::StrokeLineArray(BPoint *pts, int32 numlines, RGBColor *colors, screenwin->Lock(); framebuffer->Lock(); SetLayerData(d); - - // Do LineArray stuff here. - -// drawview->Sync(); -// screenwin->view->Invalidate(); - // for now, just print the data and hope we don't crash - int32 ptindex=0; + // Old stand-in for real StrokeLineArray stuff +/* int32 ptindex=0; for(int32 i=0; iStrokeLine(pt1,pt2,B_SOLID_HIGH); } +*/ + + int32 ptindex=0; + + drawview->BeginLineArray(numlines); + for(int32 i=0; iAddLine(pt1,pt2,col); + + } + drawview->EndLineArray(); + drawview->Sync(); screenwin->view->Invalidate();