pthread_mutex_lock(&lock);
// See if there's a texture on the freelist we can use.
for (list<GLuint>::iterator freelist_it = texture_freelist.begin();
pthread_mutex_lock(&lock);
// See if there's a texture on the freelist we can use.
for (list<GLuint>::iterator freelist_it = texture_freelist.begin();