Fix #20461: deleting VBO's from threads used for rendering or baking would
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 13 Jul 2010 13:31:43 +0000 (13:31 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 13 Jul 2010 13:31:43 +0000 (13:31 +0000)
commitee03a99695a2eaff6dbc323dcabb44e759f64099
treeab2affce3c6ee9f00bec7c9396daf55d4df615cb
parentf533a70a4b80e0e347dc8284382c0d13359f4bb8
Fix #20461: deleting VBO's from threads used for rendering or baking would
crash, as OpenGL can't be called from these. Now deleting VBO's is delayed
until the next redraw in the main thread.
source/blender/gpu/gpu_buffers.h
source/blender/gpu/intern/gpu_buffers.c
source/blender/gpu/intern/gpu_draw.c