# HG changeset patch # User John Tsiombikas # Date 1362934347 -7200 # Node ID b408f3f655e9cf3c45d984a6f2c37510231d5a3a # Parent 710658962108e3a13579b1d5b2e67a55703605dd fixed an uninitialized mutex diff -r 710658962108 -r b408f3f655e9 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) {