From 0a2bff34294ce1bc354003cc2d92995edce7c5e9 Mon Sep 17 00:00:00 2001 From: Ole Morud Date: Thu, 9 Jun 2022 19:17:17 +0200 Subject: [PATCH] aspect ratio fix --- graphics.c | 1 + 1 file changed, 1 insertion(+) diff --git a/graphics.c b/graphics.c index a9d2b51..3c7fb1f 100644 --- a/graphics.c +++ b/graphics.c @@ -66,6 +66,7 @@ void subpixel_render(Canvas* c){ for(int j=0; j < c->x; j+=2){ subpixel( c->data[i*(c->x) + j] == ON, c->data[i*(c->x) + j+1] == ON, c->data[(i+1)*(c->x) + j] == ON, c->data[(i+1)*(c->x) + j+1] == ON); + putchar(' '); } putchar('\n'); }