| 168 | } |
| 169 | |
| 170 | void DrawPixel(unsigned int x, unsigned int y, uint8_t r, uint8_t g, uint8_t b){ |
| 171 | uint32_t colour = r << 16 | g << 8 | b; |
| 172 | ((uint32_t*)videoMemory)[(y * screenWidth) + x] = colour; |
| 173 | } |
| 174 | |
| 175 | void DrawRect(unsigned int x, unsigned int y, unsigned int width, unsigned int height, uint8_t r, uint8_t g, uint8_t b){ |
| 176 | uint32_t colour = r << 16 | g << 8 | b; |
nothing calls this directly
no outgoing calls
no test coverage detected