diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-03-22 16:51:17 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-03-22 16:51:32 +0300 |
commit | a43f3c761e9f25d85704403b9e2aa0f8234c6bfb (patch) | |
tree | da6d0c613cc3501fbcedde34d4db1793a0fea12f /source | |
parent | e0ce1c45f840bac0b8001ea9f70b0491f8cc04b6 (diff) |
GL: Fix compilation error on MSVC
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/gpu/opengl/gl_shader.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/opengl/gl_shader.cc b/source/blender/gpu/opengl/gl_shader.cc index c76e21f9f71..820b265480f 100644 --- a/source/blender/gpu/opengl/gl_shader.cc +++ b/source/blender/gpu/opengl/gl_shader.cc @@ -24,7 +24,7 @@ using namespace blender; using namespace blender::gpu; using namespace blender::gpu::shader; -extern char datatoc_glsl_shader_defines_glsl[]; +extern "C" extern char datatoc_glsl_shader_defines_glsl[]; /* -------------------------------------------------------------------- */ /** \name Creation / Destruction |