Skip to content
Permalink
Browse files

Fixed initializing test event queue

  • Loading branch information
slouken committed Jun 8, 2014
1 parent 5907cfa commit 0ddd252fdd738f39d987ba58e14307a482cda684

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;
}

0 comments on commit 0ddd252

Please sign in to comment.