diff options
author | notaz | 2012-01-08 18:19:11 +0200 |
---|---|---|
committer | notaz | 2012-01-08 18:19:11 +0200 |
commit | ffbe7a3972daf4a91b4d5ee4dd8a57517a7c029c (patch) | |
tree | bc7acc05ab6dff838b221c1066dca5a2658bdf90 /frontend | |
parent | 0b49a8f782ef178d5aa22f189e275cfbc43967f3 (diff) | |
download | pcsx_rearmed-ffbe7a3972daf4a91b4d5ee4dd8a57517a7c029c.tar.gz pcsx_rearmed-ffbe7a3972daf4a91b4d5ee4dd8a57517a7c029c.tar.bz2 pcsx_rearmed-ffbe7a3972daf4a91b4d5ee4dd8a57517a7c029c.zip |
frontend: fbdev buffer fix
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/linux/fbdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/linux/fbdev.c b/frontend/linux/fbdev.c index 9d532a5..afd5531 100644 --- a/frontend/linux/fbdev.c +++ b/frontend/linux/fbdev.c @@ -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); |