diff options
Diffstat (limited to 'source/blender/windowmanager/intern/wm_init_exit.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_init_exit.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c index 0515cd01f6f..ad7044c6218 100644 --- a/source/blender/windowmanager/intern/wm_init_exit.c +++ b/source/blender/windowmanager/intern/wm_init_exit.c @@ -117,6 +117,10 @@ #include "BKE_sound.h" #include "COM_compositor.h" +#ifdef WITH_OPENSUBDIV +# include "opensubdiv_capi.h" +#endif + static void wm_init_reports(bContext *C) { ReportList *reports = CTX_wm_reports(C); @@ -525,6 +529,10 @@ void WM_exit_ext(bContext *C, const bool do_python) (void)do_python; #endif +#ifdef WITH_OPENSUBDIV + openSubdiv_cleanup(); +#endif + if (!G.background) { GPU_global_buffer_pool_free(); GPU_free_unused_buffers(); |