| 35 | } |
| 36 | |
| 37 | void Blitter_8bppBase::DrawLine(void *video, int x, int y, int x2, int y2, int screen_width, int screen_height, PixelColour colour, int width, int dash) |
| 38 | { |
| 39 | this->DrawLineGeneric(x, y, x2, y2, screen_width, screen_height, width, dash, [=](int x, int y) { |
| 40 | *((uint8_t *)video + x + y * _screen.pitch) = colour.p; |
| 41 | }); |
| 42 | } |
| 43 | |
| 44 | void Blitter_8bppBase::DrawRect(void *video, int width, int height, PixelColour colour) |
| 45 | { |
no test coverage detected