| 24 | } |
| 25 | |
| 26 | void Blitter_32bppBase::DrawLine(void *video, int x, int y, int x2, int y2, int screen_width, int screen_height, PixelColour colour, int width, int dash) |
| 27 | { |
| 28 | const Colour c = LookupColourInPalette(colour.p); |
| 29 | this->DrawLineGeneric(x, y, x2, y2, screen_width, screen_height, width, dash, [=](int x, int y) { |
| 30 | *((Colour *)video + x + y * _screen.pitch) = c; |
| 31 | }); |
| 32 | } |
| 33 | |
| 34 | void Blitter_32bppBase::DrawRect(void *video, int width, int height, PixelColour colour) |
| 35 | { |
nothing calls this directly
no test coverage detected