Skip to content
Snippets Groups Projects
Verified Commit 4f06bf41 authored by rahix's avatar rahix
Browse files

fix(gfx): Don't clear screen on init


Signed-off-by: default avatarRahix <rahix@rahix.de>
parent 53e3b1d5
No related branches found
No related tags found
No related merge requests found
...@@ -12,8 +12,6 @@ void txt_init(struct txt_buffer *txtb, struct gfx_region *reg, sFONT *f) ...@@ -12,8 +12,6 @@ void txt_init(struct txt_buffer *txtb, struct gfx_region *reg, sFONT *f)
txtb->bg_color = gfx_color_rgb_f(reg, .0f, .0f, .0f); txtb->bg_color = gfx_color_rgb_f(reg, .0f, .0f, .0f);
txtb->draw_cursor = 1; txtb->draw_cursor = 1;
txtb->auto_update = 1; txtb->auto_update = 1;
txt_clear(txtb);
} }
static inline size_t width_(struct txt_buffer *tm) static inline size_t width_(struct txt_buffer *tm)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment