[Bf-blender-cvs] [801db0d429a] master: Revert "Fix T102306: buildtime shader compilation option fails under Wayland"

Campbell Barton noreply at git.blender.org
Wed Nov 9 03:57:44 CET 2022


Commit: 801db0d429a279d1084d2f61c00088917547407e
Author: Campbell Barton
Date:   Wed Nov 9 13:54:19 2022 +1100
Branches: master
https://developer.blender.org/rB801db0d429a279d1084d2f61c00088917547407e

Revert "Fix T102306: buildtime shader compilation option fails under Wayland"

This reverts commit 6fa05e2c29a28475799fab4a9ce51bd0bc53ca92.

===================================================================

M	source/blender/gpu/intern/gpu_shader_builder.cc

===================================================================

diff --git a/source/blender/gpu/intern/gpu_shader_builder.cc b/source/blender/gpu/intern/gpu_shader_builder.cc
index 96e3eacd6f5..abb45ca074a 100644
--- a/source/blender/gpu/intern/gpu_shader_builder.cc
+++ b/source/blender/gpu/intern/gpu_shader_builder.cc
@@ -59,7 +59,7 @@ void ShaderBuilder::init()
       break;
   }
 
-  ghost_system_ = GHOST_CreateSystemBackground();
+  ghost_system_ = GHOST_CreateSystem();
   ghost_context_ = GHOST_CreateOpenGLContext(ghost_system_, glSettings);
   GHOST_ActivateOpenGLContext(ghost_context_);



More information about the Bf-blender-cvs mailing list