Blender Git Loki

Git Commits -> Revision 089ff4a

July 2, 2020, 06:51 (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: 089ff4a1ddedae0974f8deec49dad436bb1523d9
Parent Commit: 91b455c
Committed By: Jeroen Bakker
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021