mirror of https://github.com/encounter/SDL.git
Fixed initializing test event queue
This commit is contained in:
parent
5907cfaadf
commit
0ddd252fdd
|
@ -306,6 +306,7 @@ static void InitEventQueue(SDL_EventQueue *queue)
|
|||
#ifdef TEST_SPINLOCK_FIFO
|
||||
queue->lock = 0;
|
||||
SDL_AtomicSet(&queue->rwcount, 0);
|
||||
SDL_AtomicSet(&queue->watcher, 0);
|
||||
#endif
|
||||
queue->active = SDL_TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue