[Bf-blender-cvs] [8f165c390d9] tmp-workbench-rewrite2: Fix Clang compilation

Miguel Pozo noreply at git.blender.org
Tue Jan 10 15:55:20 CET 2023


Commit: 8f165c390d968068f9a257955e89ebd7b7c8d535
Author: Miguel Pozo
Date:   Mon Jan 9 17:43:29 2023 +0100
Branches: tmp-workbench-rewrite2
https://developer.blender.org/rB8f165c390d968068f9a257955e89ebd7b7c8d535

Fix Clang compilation

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

M	source/blender/draw/engines/workbench/workbench_private.hh

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

diff --git a/source/blender/draw/engines/workbench/workbench_private.hh b/source/blender/draw/engines/workbench/workbench_private.hh
index a413dc17ec5..dd1d6b17daa 100644
--- a/source/blender/draw/engines/workbench/workbench_private.hh
+++ b/source/blender/draw/engines/workbench/workbench_private.hh
@@ -9,7 +9,7 @@
 #include "workbench_enums.hh"
 #include "workbench_shader_shared.h"
 
-extern DrawEngineType draw_engine_workbench_next;
+extern "C" DrawEngineType draw_engine_workbench_next;
 
 namespace blender::workbench {



More information about the Bf-blender-cvs mailing list