mirror of
https://github.com/FunKey-Project/picofe-irixxxx.git
synced 2026-03-28 23:02:48 +01:00
fbdev: crash on single buffering
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@942 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
@@ -94,7 +94,7 @@ void *vout_fbdev_resize(struct vout_fbdev *fbdev, int w, int h, int bpp,
|
||||
fbdev->fbvar_new.bits_per_pixel = bpp;
|
||||
fbdev->fbvar_new.nonstd = 0; // can set YUV here on omapfb
|
||||
fbdev->buffer_count = buffer_cnt;
|
||||
fbdev->buffer_write = 1;
|
||||
fbdev->buffer_write = buffer_cnt > 1 ? 1 : 0;
|
||||
|
||||
// seems to help a bit to avoid glitches
|
||||
vout_fbdev_wait_vsync(fbdev);
|
||||
|
||||
Reference in New Issue
Block a user