Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2020-07-29 17:07:51 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-07-29 17:07:51 +0300
commitb9c7c904ede17afc3861a2d58d1ac65a6e87f664 (patch)
tree4d1783f8dadd93b9a0694ca4f26e5e1ed593d9e4 /source/blender/gpu
parentf0687d46650d1323778cf6d545c5cb9d25f558de (diff)
GPUShader: Fix linking with MSVC
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_shader.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_shader.cc b/source/blender/gpu/intern/gpu_shader.cc
index e0a1456d92c..a2aace218aa 100644
--- a/source/blender/gpu/intern/gpu_shader.cc
+++ b/source/blender/gpu/intern/gpu_shader.cc
@@ -44,7 +44,7 @@
#include "gpu_shader_private.h"
-extern char datatoc_gpu_shader_colorspace_lib_glsl[];
+extern "C" char datatoc_gpu_shader_colorspace_lib_glsl[];
/* Adjust these constants as needed. */
#define MAX_DEFINE_LENGTH 256