mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 06:47:45 -04: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:
parent
3797b7de42
commit
f168d03179
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue