GRAPHICS: Unify VectorRenderer blitting routines

This commit is contained in:
Eugene Sandulenko 2021-04-09 00:49:07 +02:00
parent dbf192fd13
commit d3f5d34b62
4 changed files with 5 additions and 22 deletions

View file

@ -457,7 +457,7 @@ public:
void drawCallback_BITMAP(const Common::Rect &area, const DrawStep &step) {
uint16 x, y, w, h;
stepGetPositions(step, area, x, y, w, h);
blitKeyBitmap(step.blitSrc, Common::Point(x, y));
blitKeyBitmap(step.blitSrc, Common::Point(x, y), true);
}
void drawCallback_CROSS(const Common::Rect &area, const DrawStep &step) {
@ -508,9 +508,7 @@ public:
*/
virtual void blitSurface(const Graphics::ManagedSurface *source, const Common::Rect &r) = 0;
virtual void blitKeyBitmap(const Graphics::ManagedSurface *source, const Common::Point &p) = 0;
virtual void blitManagedSurface(const Graphics::ManagedSurface *source, const Common::Point &p, bool themeTrans) = 0;
virtual void blitKeyBitmap(const Graphics::ManagedSurface *source, const Common::Point &p, bool themeTrans) = 0;
/**
* Draws a string into the screen. Wrapper for the Graphics::Font string drawing