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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-08-15 13:34:18 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-08-15 13:34:18 +0400
commit60a8fc375990534b304d2f1ca4bf7198d31f17d6 (patch)
tree3e10e7a437194a9372924a91e067bdaa72325ca8
parentdd9ce7ba04131e8d6ed08a1c885afbadc2becfe9 (diff)
Fix #23303: glsl color correction not working correct for image textures.
-rw-r--r--source/blender/gpu/intern/gpu_material.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_material.c b/source/blender/gpu/intern/gpu_material.c
index 9dc881617b7..5f8015be52f 100644
--- a/source/blender/gpu/intern/gpu_material.c
+++ b/source/blender/gpu/intern/gpu_material.c
@@ -1003,7 +1003,7 @@ static void do_material_tex(GPUShadeInput *shi)
if(tex->type==TEX_IMAGE)
if(mat->scene->r.color_mgt_flag & R_COLOR_MANAGEMENT)
- GPU_link(mat, "srgb_to_linearrgb", tcol, tcol);
+ GPU_link(mat, "srgb_to_linearrgb", tcol, &tcol);
if(mtex->mapto & MAP_COL) {
GPUNodeLink *colfac;