diff options
author | jaseg <jaseg@jaseg.net> | 2014-01-02 16:43:39 +0100 |
---|---|---|
committer | jaseg <jaseg@jaseg.net> | 2014-01-02 16:43:39 +0100 |
commit | 34def4f660108632a9526c9ad3195fdb883d206d (patch) | |
tree | fbc24dc42027be937c2c0d1fa830414888dcd14c /host | |
parent | 8192aca05a9cbf918e12e8f8cc1c6cd2dd0c9dc1 (diff) | |
download | matelight-34def4f660108632a9526c9ad3195fdb883d206d.tar.gz matelight-34def4f660108632a9526c9ad3195fdb883d206d.tar.bz2 matelight-34def4f660108632a9526c9ad3195fdb883d206d.zip |
Fixed the print loop
Diffstat (limited to 'host')
-rw-r--r-- | host/matelight/main.c | 2 |
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]; |