Fix typo. 73/303673/2
authorjinbong, Lee <jinbong.lee@samsung.com>
Wed, 3 Jan 2024 08:56:31 +0000 (08:56 +0000)
committerJinbong Lee <jinbong.lee@samsung.com>
Wed, 3 Jan 2024 09:03:20 +0000 (09:03 +0000)
 - 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

src/egl/drivers/dri2/platform_tizen.c

index da7630c..37ecaa6 100755 (executable)
@@ -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);