summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index e38eeaa..17995bc 100644
--- a/src/main.c
+++ b/src/main.c
@@ -274,7 +274,7 @@ static void RenderTriangle2d(swgfx* gfx) {
274 274
275static void Checkerboard(swgfx* gfx, int width, int height) { 275static 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) {