Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2018-06-14 13:01:18 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-06-14 13:03:40 +0300
commitd64cd6f7ee6322685c485b68118f8e987723f20b (patch)
tree9994f34a680eb7defc54200e942e4c7b4d733b63 /source/blender/draw/engines/workbench/workbench_forward.c
parent17b029d80efaf51df55cd1133718d1cf69aa244f (diff)
Move call to drw_state_ensure_not_reused() inside the region locked by DST.gl_context_mutex.
Currently with a debug build there is a race condition where the mutex is released before the DST structure is reset to 0xFF, meaning when multiple threads are using the DRWManager it can get cleared when the main thread is using it, causing crashes. Reviewers: fclem, brecht Reviewed By: fclem Tags: #bf_blender_2.8 Differential Revision: https://developer.blender.org/D3476
Diffstat (limited to 'source/blender/draw/engines/workbench/workbench_forward.c')
0 files changed, 0 insertions, 0 deletions