diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2018-03-28 20:06:37 +0300 |
---|---|---|
committer | Dmitry Osipenko <digetx@gmail.com> | 2018-03-28 20:06:37 +0300 |
commit | fcecdf2b699f546fe563b28e277b2ccca664cafc (patch) | |
tree | eb0f0c85f5e3f4278366235e4044173ab615bdc3 | |
parent | 0c8b366716699ae527d75bbb9ac6e11463cfb067 (diff) |
Fix cut-n-paste typo in create_shared_surface()
-rw-r--r-- | src/surface_shared.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/surface_shared.c b/src/surface_shared.c index 8e5f469..adc5741 100644 --- a/src/surface_shared.c +++ b/src/surface_shared.c @@ -80,7 +80,7 @@ tegra_shared_surface *create_shared_surface(tegra_surface *disp, tegra_shared_surface *shared; int ret; - pthread_mutex_unlock(&shared_lock); + pthread_mutex_lock(&shared_lock); pthread_mutex_lock(&video->lock); pthread_mutex_lock(&disp->lock); |