X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=ginge.git;a=blobdiff_plain;f=common%2Fhost_fb.c;fp=common%2Fhost_fb.c;h=a59e869a651bc25246b3dfb22372698141a2458e;hp=4583a4cb376900d3fe84660480931d837b37adc2;hb=8424752c5a6e59509c85af7a144ac1849d20f6c5;hpb=15a2d3ea45a26875a4c1199660c88a5cb6aed070 diff --git a/common/host_fb.c b/common/host_fb.c index 4583a4c..a59e869 100644 --- a/common/host_fb.c +++ b/common/host_fb.c @@ -37,7 +37,7 @@ int host_video_init(int *stride, int no_dblbuf) fbdev_name = "/dev/fb1"; w = h = 0; - fbdev = vout_fbdev_init(fbdev_name, &w, &h, 16, no_dblbuf); + fbdev = vout_fbdev_init(fbdev_name, &w, &h, 16, no_dblbuf ? 1 : 3); if (fbdev == NULL) return -1;