Skip to content

Commit 79e089f

Browse files
committed
Update plutovg
1 parent a0803bb commit 79e089f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
@PACKAGE_INIT@
22

3+
include(CMakeFindDependencyMacro)
4+
find_dependency(Threads)
5+
36
include("${CMAKE_CURRENT_LIST_DIR}/plutovgTargets.cmake")

plutovg/source/plutovg-font.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ typedef CRITICAL_SECTION plutovg_mutex_t;
125125

126126
typedef mtx_t plutovg_mutex_t;
127127

128-
#define plutovg_mutex_init(mutex) mtx_init(mutex, mtx_recursive)
128+
#define plutovg_mutex_init(mutex) mtx_init(mutex, mtx_plain | mtx_recursive)
129129
#define plutovg_mutex_lock(mutex) mtx_lock(mutex)
130130
#define plutovg_mutex_unlock(mutex) mtx_unlock(mutex)
131131
#define plutovg_mutex_destroy(mutex) mtx_destroy(mutex)

0 commit comments

Comments
 (0)