From 3f12beb4d0440da93ccbe67c76f23a2f15452aac Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sun, 25 Apr 2010 10:49:13 +0000 Subject: Fix #22123 and #22124: some problems with mutex locks, also tweak to how removing opengl textures from outside main thread is done so it happens as part of the main loop. --- source/blender/windowmanager/intern/wm_init_exit.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/windowmanager/intern/wm_init_exit.c') diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c index 862255d7cd5..add80e9298c 100644 --- a/source/blender/windowmanager/intern/wm_init_exit.c +++ b/source/blender/windowmanager/intern/wm_init_exit.c @@ -312,6 +312,7 @@ void WM_exit(bContext *C) } GPU_buffer_pool_free(0); + GPU_free_unused_buffers(); GPU_extensions_exit(); // if (copybuf) MEM_freeN(copybuf); -- cgit v1.2.3