| 450 | } |
| 451 | |
| 452 | static void |
| 453 | vesa_WritePixel(unsigned x, unsigned y, unsigned color) |
| 454 | { |
| 455 | if (vesa_pixel_size == 8) { |
| 456 | vesa_WritePixel32(x, y, color); |
| 457 | } else { |
| 458 | vesa_WritePixel32(x, y, vesa_palette[color & 0xFF]); |
| 459 | } |
| 460 | } |
| 461 | |
| 462 | static void |
| 463 | vesa_WritePixelRow(unsigned long offset, |
no test coverage detected