summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjinbong, Lee <jinbong.lee@samsung.com>2024-01-03 08:56:31 +0000
committerXuelian Bai <xuelian.bai@samsung.com>2024-01-18 09:31:56 +0800
commit2d7435ea832364c1aa7531b770d520b9524afa0a (patch)
treebd4e1688c268492a9aafc138b58819d6e92509e2
parenteb13371eff8428809c4f6c42e649e56259fca33c (diff)
downloadmesa-2d7435ea832364c1aa7531b770d520b9524afa0a.tar.gz
mesa-2d7435ea832364c1aa7531b770d520b9524afa0a.tar.bz2
mesa-2d7435ea832364c1aa7531b770d520b9524afa0a.zip
Fix typo.
- this function is needed call mutex_lock after calling tpl_surface_enqueue_buffer_with_damage_and_sync() - but a typo is occurred when code update (commit ID : c922b95f3be7dca862631337993a098976672167) Change-Id: I8e60cb4e7473753bb1fb16e9429466d3c9727028
-rwxr-xr-xsrc/egl/drivers/dri2/platform_tizen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/dri2/platform_tizen.c b/src/egl/drivers/dri2/platform_tizen.c
index 3205d0fd47f..9411458fed1 100755
--- a/src/egl/drivers/dri2/platform_tizen.c
+++ b/src/egl/drivers/dri2/platform_tizen.c
@@ -325,7 +325,7 @@ tizen_window_enqueue_buffer_with_damage(_EGLDisplay *disp,
dri2_surf->tbm_surface = NULL;
dri2_surf->back = NULL;
- simple_mtx_unlock(&disp->Mutex);
+ simple_mtx_lock(&disp->Mutex);
if (dri2_surf->dri_image_back) {
dri2_dpy->image->destroyImage(dri2_surf->dri_image_back);