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/gpu/GPU_draw.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/gpu/GPU_draw.h') diff --git a/source/blender/gpu/GPU_draw.h b/source/blender/gpu/GPU_draw.h index d602d75bb35..e233a3f3d94 100644 --- a/source/blender/gpu/GPU_draw.h +++ b/source/blender/gpu/GPU_draw.h @@ -122,6 +122,9 @@ void GPU_free_images(void); void GPU_free_smoke(struct SmokeModifierData *smd); void GPU_create_smoke(struct SmokeModifierData *smd, int highres); +/* Delayed free of OpenGL buffers by main thread */ +void GPU_free_unused_buffers(void); + #ifdef __cplusplus } #endif -- cgit v1.2.3