| 96 | } |
| 97 | |
| 98 | void Window2::ClearScreen(uint32_t color) |
| 99 | { |
| 100 | uint32_t const numTexels = mScreenTexture->GetNumElements(); |
| 101 | uint32_t* texels = mScreenTexture->Get<uint32_t>(); |
| 102 | for (uint32_t i = 0; i < numTexels; ++i) |
| 103 | { |
| 104 | *texels++ = color; |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | void Window2::SetPixel(int32_t x, int32_t y, uint32_t color) |
| 109 | { |
nothing calls this directly
no test coverage detected