mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 11:22:18 -04:00
initialize midi_position_t position in i_midimusic.c:PlayerThread()
This commit is contained in:
parent
66ec2d5d96
commit
605289f161
@ -1188,7 +1188,7 @@ static int PlayerThread(void *unused)
|
|||||||
{
|
{
|
||||||
SDL_SetThreadPriority(SDL_THREAD_PRIORITY_TIME_CRITICAL);
|
SDL_SetThreadPriority(SDL_THREAD_PRIORITY_TIME_CRITICAL);
|
||||||
|
|
||||||
midi_position_t position;
|
midi_position_t position = {0};
|
||||||
boolean sleep = false;
|
boolean sleep = false;
|
||||||
|
|
||||||
while (SDL_AtomicGet(&player_thread_running))
|
while (SDL_AtomicGet(&player_thread_running))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user