| 42 | } |
| 43 | |
| 44 | void Blitter_8bppBase::DrawRect(void *video, int width, int height, PixelColour colour) |
| 45 | { |
| 46 | std::byte *p = static_cast<std::byte *>(video); |
| 47 | do { |
| 48 | std::fill_n(p, width, static_cast<std::byte>(colour.p)); |
| 49 | p += _screen.pitch; |
| 50 | } while (--height); |
| 51 | } |
| 52 | |
| 53 | void Blitter_8bppBase::CopyFromBuffer(void *video, const void *src, int width, int height) |
| 54 | { |
no test coverage detected