From a85bc7bab6c7e4355ec7e075ad2a911f4d1f9acd Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Fri, 6 May 2016 18:55:42 +0200 Subject: [PATCH] RARCH_DISPLAY_CT_LOCK_NEW - make sure lock is freed beforehand --- gfx/video_driver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gfx/video_driver.c b/gfx/video_driver.c index 0a71abaaa1..a4041a6f81 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -1300,6 +1300,7 @@ bool video_driver_ctl(enum rarch_display_ctl_state state, void *data) #endif break; case RARCH_DISPLAY_CTL_LOCK_NEW: + video_driver_ctl(RARCH_DISPLAY_CTL_LOCK_FREE, NULL); #ifdef HAVE_THREADS if (!display_lock) display_lock = slock_new();