RemoteDrawingEngine: Whitespace cleanup and a simplification.

This commit is contained in:
Michael Lotz
2017-11-21 22:18:17 +01:00
parent 46f8876d27
commit 0863572d73
2 changed files with 6 additions and 7 deletions
@@ -802,9 +802,7 @@ RemoteDrawingEngine::FillTriangle(BPoint* points, const BRect& bounds,
RemoteMessage message(NULL, fHWInterface->SendBuffer()); RemoteMessage message(NULL, fHWInterface->SendBuffer());
message.Start(RP_FILL_TRIANGLE_GRADIENT); message.Start(RP_FILL_TRIANGLE_GRADIENT);
message.Add(fToken); message.Add(fToken);
message.Add(points[0]); message.AddList(points, 3);
message.Add(points[1]);
message.Add(points[2]);
message.Add(bounds); message.Add(bounds);
message.AddGradient(gradient); message.AddGradient(gradient);
} }
@@ -174,7 +174,8 @@ private:
float fStringWidthResult; float fStringWidthResult;
BBitmap* fReadBitmapResult; BBitmap* fReadBitmapResult;
BitmapDrawingEngine* fBitmapDrawingEngine; BitmapDrawingEngine*
fBitmapDrawingEngine;
}; };
#endif // REMOTE_DRAWING_ENGINE_H #endif // REMOTE_DRAWING_ENGINE_H