Permalink
Browse files

gfx overhaul

  • Loading branch information...
Reisyukaku committed Dec 19, 2018
1 parent e75511d commit 46ef4da27f67f456fd6d8133d40beb9862dc51d3
Showing with 173 additions and 351 deletions.
  1. +1 −1 src/firmware.c
  2. +73 −341 src/hwinit/gfx.c
  3. +99 −9 src/hwinit/gfx.h
@@ -533,7 +533,7 @@ void launch() {

void firmware() {
display_init();
gfx_init_ctxt(&gfx_ctxt, display_init_framebuffer(), 720, 1280, 768);
gfx_init_ctxt(&gfx_ctxt, display_init_framebuffer(), 1280, 720, 768);
gfx_clear_color(&gfx_ctxt, 0xFF000000);
gfx_con_init(&gfx_con, &gfx_ctxt);
gfx_con_setcol(&gfx_con, DEFAULT_TEXT_COL, 0, 0);
Oops, something went wrong.

0 comments on commit 46ef4da

Please sign in to comment.