# HG changeset patch # User John Tsiombikas # Date 1362934347 -7200 # Node ID 0be4f220ebdc5697c1a82dc67342ea523f5da34d # Parent eb665509682a46b9c128191e26621c5829eabc8f fixed an uninitialized mutex diff -r eb665509682a -r 0be4f220ebdc example/test.c --- a/example/test.c Fri Mar 08 04:54:05 2013 +0200 +++ b/example/test.c Sun Mar 10 18:52:27 2013 +0200 @@ -55,7 +55,7 @@ void mouse(int bn, int state, int x, int y); void motion(int x, int y); -float cam_theta = 20, cam_phi = 20, cam_dist = 15; +float cam_theta = 200, cam_phi = 20, cam_dist = 15; struct anm_node *root; struct anm_node *nodes[NUM_NODES]; @@ -186,7 +186,7 @@ for(i=0; icache_key, 0); + pthread_mutex_init(&node->cache_list_lock, 0); for(i=0; itracks + i) == -1) {