diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-04-08 12:27:51 +0300 |
---|---|---|
committer | Fabian Schempp <fabianschempp@googlemail.com> | 2022-04-11 01:31:59 +0300 |
commit | 383fb09f08655e6ec959c1f3f7d86cda146545cb (patch) | |
tree | 6d2cf67b448d37766bc1497be132c23a9981077f | |
parent | c55e25cd846f68b162716f18752b6c3200e72f0e (diff) |
Fix prefix used for display OCIO shader
Didn't notice this to have real harmful behavior, but is still best
to do things properly.
-rw-r--r-- | intern/opencolorio/ocio_impl_glsl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/opencolorio/ocio_impl_glsl.cc b/intern/opencolorio/ocio_impl_glsl.cc index fcaab5dd752..87f9d8837c7 100644 --- a/intern/opencolorio/ocio_impl_glsl.cc +++ b/intern/opencolorio/ocio_impl_glsl.cc @@ -619,7 +619,7 @@ static OCIO_GPUDisplayShader &getGPUDisplayShader( GpuShaderDescRcPtr shaderdesc_to_display = GpuShaderDesc::CreateShaderDesc(); shaderdesc_to_display->setLanguage(GPU_LANGUAGE_GLSL_1_3); shaderdesc_to_display->setFunctionName("OCIO_to_display"); - shaderdesc_to_scene_linear->setResourcePrefix("to_display"); + shaderdesc_to_display->setResourcePrefix("to_display"); (*(ConstProcessorRcPtr *)processor_to_display) ->getDefaultGPUProcessor() ->extractGpuShaderInfo(shaderdesc_to_display); |