Fixed initializing test event queue
authorSam Lantinga <slouken@libsdl.org>
Sat, 07 Jun 2014 17:25:56 -0700
changeset 8838b50a84131dc9
parent 8837 3fa15ed506f3
child 8839 5ba49d7a39a0
Fixed initializing test event queue
test/testatomic.c
     1.1 --- a/test/testatomic.c	Sat Jun 07 17:25:35 2014 -0700
     1.2 +++ b/test/testatomic.c	Sat Jun 07 17:25:56 2014 -0700
     1.3 @@ -306,6 +306,7 @@
     1.4  #ifdef TEST_SPINLOCK_FIFO
     1.5      queue->lock = 0;
     1.6      SDL_AtomicSet(&queue->rwcount, 0);
     1.7 +    SDL_AtomicSet(&queue->watcher, 0);
     1.8  #endif
     1.9      queue->active = SDL_TRUE;
    1.10  }