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:
Diffstat (limited to 'intern/opencolorio/ocio_impl_glsl.cc')
-rw-r--r--intern/opencolorio/ocio_impl_glsl.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/opencolorio/ocio_impl_glsl.cc b/intern/opencolorio/ocio_impl_glsl.cc
index 13c2fc07a9a..0f8ab5b9905 100644
--- a/intern/opencolorio/ocio_impl_glsl.cc
+++ b/intern/opencolorio/ocio_impl_glsl.cc
@@ -100,9 +100,9 @@ static const char *g_fragShaderText = ""
"\n"
" gl_FragColor = OCIODisplay(col, tex2);\n"
"\n"
-" col[0] *= alpha;\n"
-" col[1] *= alpha;\n"
-" col[2] *= alpha;\n"
+" gl_FragColor[0] *= alpha;\n"
+" gl_FragColor[1] *= alpha;\n"
+" gl_FragColor[2] *= alpha;\n"
" }\n"
"\n"
"}\n";