Fixed initializing test event queue
This commit is contained in:
parent
96f0009c02
commit
26f1f2a9a1
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue