Skip to content

Commit

Permalink
Fixed initializing test event queue
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jun 8, 2014
1 parent 5907cfa commit 0ddd252
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/testatomic.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0ddd252

Please sign in to comment.