diff options
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -274,7 +274,7 @@ static void RenderTriangle2d(swgfx* gfx) { | |||
| 274 | 274 | ||
| 275 | static void Checkerboard(swgfx* gfx, int width, int height) { | 275 | static void Checkerboard(swgfx* gfx, int width, int height) { |
| 276 | assert(gfx); | 276 | assert(gfx); |
| 277 | const sgPixel colour = (sgPixel){255, 0, 255, 255}; | 277 | const sgColour4 colour = (sgColour4){1, 0, 1, 1}; |
| 278 | for (int y = 0; y < height; ++y) { | 278 | for (int y = 0; y < height; ++y) { |
| 279 | for (int x = 0; x < width; ++x) { | 279 | for (int x = 0; x < width; ++x) { |
| 280 | if (((x ^ y) & 1) == 1) { | 280 | if (((x ^ y) & 1) == 1) { |
