]> git.sesse.net Git - movit/commitdiff
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 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;
 
        // Create a new one.
        VAO vao_format;