]> git.sesse.net Git - movit/blobdiff - resource_pool.cpp
Fix a double-unlock.
[movit] / resource_pool.cpp
index 6228fa2d259c5fa068862409ce8c335fb9b5224a..bf6d12c8982ada1d99ee5ee6289c6f5a4c31ea59 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;