aboutsummaryrefslogtreecommitdiff
path: root/src/canvas.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/canvas.c')
-rw-r--r--src/canvas.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/canvas.c b/src/canvas.c
index 3a016d7..f3ee6ec 100644
--- a/src/canvas.c
+++ b/src/canvas.c
@@ -117,14 +117,14 @@ canvas_init(uint w, uint h, void *ren)
for (j = 0; j < h; j += 16) {
dest.y = j;
if (((j+i)>>4)&1)
- SDL_SetRenderDrawColor(ren, 225, 225, 225, 255);
+ SDL_SetRenderDrawColor(ren, INTTOCOLA(0xffffffff));
else
SDL_SetRenderDrawColor(ren, 125, 125, 125, 255);
SDL_RenderFillRect(ren, &dest);
}
}
SDL_SetRenderTarget(ren, c->half_pres);
- SDL_SetRenderDrawColor(ren, 0, 0, 0, 0);
+ SDL_SetRenderDrawColor(ren, INTTOCOLA(0));
SDL_RenderClear(ren);
SDL_SetRenderTarget(ren, NULL);