Fixed building under Linux

Linux GUI brought up to date
This commit is contained in:
SarahW 2017-01-10 16:38:52 +00:00
commit fb3d3d594b
7 changed files with 267 additions and 108 deletions

View file

@ -489,13 +489,13 @@ void video_blit_complete()
void video_wait_for_blit()
{
while (blit_data.busy)
thread_wait_event(blit_data.blit_complete, -1);
thread_wait_event(blit_data.blit_complete, 1);
thread_reset_event(blit_data.blit_complete);
}
void video_wait_for_buffer()
{
while (blit_data.buffer_in_use)
thread_wait_event(blit_data.buffer_not_in_use, -1);
thread_wait_event(blit_data.buffer_not_in_use, 1);
thread_reset_event(blit_data.buffer_not_in_use);
}