oops, forgot to create the mouse access mutex
This commit is contained in:
@@ -494,9 +494,9 @@ do_stop(void)
|
|||||||
{
|
{
|
||||||
/* Claim the video blitter. */
|
/* Claim the video blitter. */
|
||||||
startblit();
|
startblit();
|
||||||
|
|
||||||
sdl_close();
|
sdl_close();
|
||||||
|
|
||||||
pc_close(thMain);
|
pc_close(thMain);
|
||||||
|
|
||||||
thMain = NULL;
|
thMain = NULL;
|
||||||
@@ -581,7 +581,7 @@ int main(int argc, char** argv)
|
|||||||
fprintf(stderr, "Failed to create blit mutex: %s", SDL_GetError());
|
fprintf(stderr, "Failed to create blit mutex: %s", SDL_GetError());
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
mousemutex = SDL_CreateMutex();
|
||||||
sdl_initho();
|
sdl_initho();
|
||||||
|
|
||||||
if (start_in_fullscreen)
|
if (start_in_fullscreen)
|
||||||
|
Reference in New Issue
Block a user