Fix T56121 and maybe others: DST.gpu_context was being created in the wrong DST.gl_context.
In addition to the crash in the selection of bones, this was responsible for other problems such as wrong hair and disappearing objects.
This commit is contained in:
@@ -2351,6 +2351,7 @@ void DRW_opengl_context_create(void)
|
||||
}
|
||||
/* This changes the active context. */
|
||||
DST.gl_context = WM_opengl_context_create();
|
||||
WM_opengl_context_activate(DST.gl_context);
|
||||
/* Be sure to create gawain.context too. */
|
||||
DST.gpu_context = GPU_context_create();
|
||||
if (!G.background) {
|
||||
|
||||
Reference in New Issue
Block a user