From: Eleni Maria Stea Date: Sun, 10 Mar 2013 02:38:08 +0000 (+0200) Subject: clear fb on exit X-Git-Url: http://git.mutantstargoat.com?p=winnie;a=commitdiff_plain;h=2985bfa49497805b4760c066a6288c4b3752d145 clear fb on exit --- diff --git a/Makefile b/Makefile index 4242187..a132c3f 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ dbg = -g opt = -O0 inc = -Isrc -backend = SDL +#backend = SDL ifeq ($(backend), SDL) def = -DWINNIE_SDL diff --git a/src/fbdev/gfx.cc b/src/fbdev/gfx.cc index 7ebc656..74dec0c 100644 --- a/src/fbdev/gfx.cc +++ b/src/fbdev/gfx.cc @@ -104,6 +104,7 @@ bool init_gfx() void destroy_gfx() { clear_screen(0, 0, 0); + gfx_update(); if(dev_fd != -1) { close(dev_fd);