Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fixed initializing test event queue
- Loading branch information
File 1 of 1 in
0ddd252
|
@@ -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; |
|
|
} |
|
|