aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <jaseg@jaseg.net>2014-01-02 16:43:39 +0100
committerjaseg <jaseg@jaseg.net>2014-01-02 16:43:39 +0100
commit34def4f660108632a9526c9ad3195fdb883d206d (patch)
treefbc24dc42027be937c2c0d1fa830414888dcd14c
parent8192aca05a9cbf918e12e8f8cc1c6cd2dd0c9dc1 (diff)
downloadmatelight-34def4f660108632a9526c9ad3195fdb883d206d.tar.gz
matelight-34def4f660108632a9526c9ad3195fdb883d206d.tar.bz2
matelight-34def4f660108632a9526c9ad3195fdb883d206d.zip
Fixed the print loop
-rw-r--r--host/matelight/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/matelight/main.c b/host/matelight/main.c
index 1fc6cd4..7a23a0a 100644
--- a/host/matelight/main.c
+++ b/host/matelight/main.c
@@ -76,7 +76,7 @@ int console_render(char *s, glyph_t **glyph_table, unsigned int glyph_table_size
x += g->width;
}
- for(unsigned int y=0; y < gbufheight; y++){
+ for(unsigned int y=0; y < gbufheight; y+=2){
for(unsigned int x=0; x < gbufwidth; x++){
//Da magicks: ▀█▄
char c1 = gbuf[y*gbufwidth + x];