diff options
Diffstat (limited to 'source/blender/gpu/intern/gpu_shader_builder.cc')
-rw-r--r-- | source/blender/gpu/intern/gpu_shader_builder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_shader_builder.cc b/source/blender/gpu/intern/gpu_shader_builder.cc index 9b699c60126..3aa2963ecd0 100644 --- a/source/blender/gpu/intern/gpu_shader_builder.cc +++ b/source/blender/gpu/intern/gpu_shader_builder.cc @@ -45,7 +45,7 @@ void ShaderBuilder::init() ghost_context_ = GHOST_CreateOpenGLContext(ghost_system_, glSettings); GHOST_ActivateOpenGLContext(ghost_context_); - gpu_context_ = GPU_context_create(nullptr); + gpu_context_ = GPU_context_create(nullptr, ghost_context_); GPU_init(); } |