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
path: root/intern
diff options
context:
space:
mode:
authorSergey Sharybin <sergey@blender.org>2022-04-08 12:27:51 +0300
committerSergey Sharybin <sergey@blender.org>2022-04-08 12:27:51 +0300
commita410cea291a118187efdca8b440c27df69dd7bd5 (patch)
treeb73de3ac3f0c45595d7ad6b716bb0a7f3dcf7c12 /intern
parent30f9ebb64441851aadb2301179eca8940d0ae56e (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.
Diffstat (limited to 'intern')
-rw-r--r--intern/opencolorio/ocio_impl_glsl.cc2
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);