fb: sdl: create graphics window on enabling
The framebuffer should be enabled on the fb_enable callback and disabled
in the fb_disable callback. In SDL context this means the grapics window
has to be created / destroyed in fb_enable / fb_disable.

With this change the framebuffer has to be enabled explicitly with
fb0.enable=1 like with other framebuffer driver aswell.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 8a4be80 commit 772ab4f1722c5d166fe0677aa779e7b8628f0a79
@Sascha Hauer Sascha Hauer authored on 15 Jul 2015
Showing 1 changed file
View
drivers/video/sdl.c