fix compilation
This commit is contained in:
parent
af307f9f17
commit
b8ded8a695
2 changed files with 3 additions and 3 deletions
src
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue