Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix autostart crash in 640x480

  • Loading branch information...
commit b33b55556a04f344f30a8e5dd4d423898ec53cdb 1 parent 2c9f5e7
@sbourdeauducq sbourdeauducq authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/fb.c
View
3  src/fb.c
@@ -82,9 +82,10 @@ void fb_unblank()
void fb_render_mode()
{
- if(sysconfig_get_resolution() != SC_RESOLUTION_640_480)
+ if((sysconfig_get_resolution() != SC_RESOLUTION_640_480) || blanked)
ioctl(framebuffer_fd, FBIOSETVIDEOMODE, SC_RESOLUTION_640_480);
ioctl(framebuffer_fd, FBIOSETBUFFERMODE, FB_TRIPLE_BUFFERED);
+ blanked = 0;
g_render_mode = 1;
}
Please sign in to comment.
Something went wrong with that request. Please try again.