Fix a double-unlock.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 28 Jul 2017 17:06:33 +0000 (19:06 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 28 Jul 2017 17:06:33 +0000 (19:06 +0200)
resource_pool.cpp

index 6228fa2..bf6d12c 100644 (file)
@@ -548,7 +548,6 @@ GLuint ResourcePool::create_vec2_vao(const set<GLint> &attribute_indices, GLuint
                        }
                }
        }
-       pthread_mutex_unlock(&lock);
 
        // Create a new one.
        VAO vao_format;