Fix compilation error of OCIO with MSVC
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 9 Oct 2013 20:45:29 +0000 (20:45 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 9 Oct 2013 20:45:29 +0000 (20:45 +0000)
intern/opencolorio/ocio_impl_glsl.cc

index a10afcad200d5d95453535f0e78c4c9856b676f9..be8f105fd0282a87f907044da850f10358286f2d 100644 (file)
@@ -48,7 +48,9 @@ using namespace OCIO_NAMESPACE;
 
 static const int LUT3D_EDGE_SIZE = 64;
 
-extern char datatoc_gpu_shader_display_transform_glsl[];
+extern "C" {
+       extern char datatoc_gpu_shader_display_transform_glsl[];
+}
 
 /* **** OpenGL drawing routines using GLSL for color space transform ***** */