Add mutex to protect Voodoo swap count and pending. Should fix hangs
sometimes changing video mode on Voodoo 3.
This commit is contained in:
parent
984437dfa9
commit
193645a426
6 changed files with 37 additions and 6 deletions
|
|
@ -229,6 +229,7 @@ typedef struct voodoo_t
|
|||
|
||||
uint32_t tmuConfig;
|
||||
|
||||
mutex_t *swap_mutex;
|
||||
int swap_count;
|
||||
|
||||
int disp_buffer, draw_buffer;
|
||||
|
|
|
|||
Loading…
Reference in a new issue