fix compilation

This commit is contained in:
Tim Felgentreff 2020-04-13 11:50:28 +02:00
parent af307f9f17
commit b8ded8a695
2 changed files with 3 additions and 3 deletions

View file

@ -856,7 +856,7 @@ int InitSound()
Audio.Running = true;
// Create thread to fill sdl audio buffer
Audio.Thread = SDL_CreateThread(FillThread, NULL);
Audio.Thread = SDL_CreateThread(FillThread, "stratagus-snd", NULL);
return 0;
}

View file

@ -921,8 +921,8 @@ static void SdlDoEvent(const EventCallback &callbacks, SDL_Event &event)
event.key.keysym.sym, event.key.keysym.sym < 128 ? event.key.keysym.sym : 0);
break;
case SDL_VIDEORESIZE:
Video.ResizeScreen(event.resize.w, event.resize.h);
case SDL_WINDOWEVENT_RESIZED:
Video.ResizeScreen(event.window.data1, event.window.data2);
break;
case SDL_QUIT: