diff options
author | Campbell Barton <campbell@blender.org> | 2022-10-23 06:07:22 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-10-23 06:07:22 +0300 |
commit | ca0f4f8c5c5ee049d961d8a65a3da1bedd428ac6 (patch) | |
tree | d9df9e1bc4f3a7c0c4fd7c7aa5edabd36592d5f5 /intern/ghost/GHOST_ISystem.h | |
parent | b70bbfadfecec049ad1ac2de7a949198ca6c15bc (diff) |
Fix crash on exit when background rendering in wayland
Disable libdecor Wayland requirement which would use an X11 fallback.
While the crash could be investigated, using libdecor at all makes
no sense in background mode.
Diffstat (limited to 'intern/ghost/GHOST_ISystem.h')
-rw-r--r-- | intern/ghost/GHOST_ISystem.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/intern/ghost/GHOST_ISystem.h b/intern/ghost/GHOST_ISystem.h index 64b5f4ee496..edaeca1e159 100644 --- a/intern/ghost/GHOST_ISystem.h +++ b/intern/ghost/GHOST_ISystem.h @@ -118,9 +118,11 @@ class GHOST_ISystem { /** * Creates the one and only system. * \param verbose: report back-ends that were attempted no back-end could be loaded. + * \param background: loading the system for background rendering (no visible windows). * \return An indication of success. */ - static GHOST_TSuccess createSystem(bool verbose); + + static GHOST_TSuccess createSystem(bool verbose, bool background); static GHOST_TSuccess createSystemBackground(); /** |