Skip to content
Snippets Groups Projects
Commit f0082cd8 authored by deuce's avatar deuce
Browse files

Fix bug in last commit... don't SLEEP() with the mutex held.

parent 502fcbf9
No related branches found
No related tags found
No related merge requests found
......@@ -1551,8 +1551,8 @@ int sdl_video_event_thread(void *data)
sdl.mutexV(bitmap_init_mutex);
break;
}
SLEEP(1);
sdl.mutexV(bitmap_init_mutex);
SLEEP(1);
}
pthread_mutex_lock(&vstatlock);
old_scaling = vstat.scaling;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment