Disabled threading for rlottie as it causes performance degradations.

This commit is contained in:
Leon Styhre 2022-01-09 13:32:28 +01:00
parent d45c690586
commit 0c31124cd2

View file

@ -11,12 +11,10 @@ if(NOT WIN32)
set(BUILD_SHARED_LIBS OFF) set(BUILD_SHARED_LIBS OFF)
endif() endif()
# There is a bug that makes rlottie hang forever on application shutdown if compiled using MinGW # Disabled threading support for rlottie as this functionality actually leads to far worse
# with threading support enabled. Disable it for MSVC as well to keep the behavior consistent # performance. As well there is a bug on Windows that makes rlottie hang forever on application
# across builds with either of these compilers. # shutdown if compiled using MinGW with threading support enabled.
if(WIN32) option(LOTTIE_THREAD OFF)
option(LOTTIE_THREAD OFF)
endif()
option(LOTTIE_MODULE OFF) option(LOTTIE_MODULE OFF)