mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-07 07:38:04 -04:00
fbdev: wait vsync after mode change, not before
As it was before we were getting a full frame scanout of the old mode, while the emu (or whatever) was already writing a frame in new mode. first_write_to_front is a hack for psx.
This commit is contained in:
parent
fdfcdca978
commit
33787db41d
2 changed files with 9 additions and 7 deletions
|
@ -5,7 +5,7 @@ void *vout_fbdev_flip(struct vout_fbdev *fbdev);
|
|||
void vout_fbdev_wait_vsync(struct vout_fbdev *fbdev);
|
||||
void *vout_fbdev_resize(struct vout_fbdev *fbdev, int w, int h, int bpp,
|
||||
int left_border, int right_border, int top_border, int bottom_border,
|
||||
int buffer_count);
|
||||
int buffer_cnt, int first_write_to_front);
|
||||
void vout_fbdev_clear(struct vout_fbdev *fbdev);
|
||||
void vout_fbdev_clear_lines(struct vout_fbdev *fbdev, int y, int count);
|
||||
int vout_fbdev_get_fd(struct vout_fbdev *fbdev);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue