mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-02-17 20:34:28 +01:00
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
Block a user