diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-08-15 13:34:18 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-08-15 13:34:18 +0400 |
commit | 60a8fc375990534b304d2f1ca4bf7198d31f17d6 (patch) | |
tree | 3e10e7a437194a9372924a91e067bdaa72325ca8 /source/blender/gpu | |
parent | dd9ce7ba04131e8d6ed08a1c885afbadc2becfe9 (diff) |
Fix #23303: glsl color correction not working correct for image textures.
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_material.c | 2 |
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; |