notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b49a8f
)
frontend: fbdev buffer fix
author
notaz
<notasas@gmail.com>
Sun, 8 Jan 2012 16:19:11 +0000
(18:19 +0200)
committer
notaz
<notasas@gmail.com>
Sun, 8 Jan 2012 16:19:11 +0000
(18:19 +0200)
frontend/linux/fbdev.c
patch
|
blob
|
blame
|
history
diff --git
a/frontend/linux/fbdev.c
b/frontend/linux/fbdev.c
index
9d532a5
..
afd5531
100644
(file)
--- 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);