Blender Git Commit Log

Git Commits -> Revision 2dd60e6

Revision 2dd60e6 by Julian Eisel (master)
June 23, 2020, 15:28 (GMT)
Fix T77830: Crash in VR session when opening material preview

Draw-manager mutex has to be set before activating OpenGL/GPU context.
Otherwise, parallel jobs (like preview rendering) may try to activate
the context from another thread.

Also: Use WM wrappers for activating/releasing OpenGL context, which
have an additional assert check.

Suggest to backport this for 2.83.1.

Commit Details:

Full Hash: 2dd60e6c2cbdf3e39ed3451ee0f67a5b00a7a5bc
Parent Commit: 1e0426d
Lines Changed: +21, -4

3 Modified Paths:

/source/blender/windowmanager/intern/wm_surface.c (+13, -1) (Diff)
/source/blender/windowmanager/wm_surface.h (+5, -0) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_session.c (+3, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021