diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-17 14:22:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-17 14:23:24 +0300 |
commit | dab0bc7bf8f3f2ccf920da5497472566453ab2e7 (patch) | |
tree | eea4719de8306b818e523da6dec56a038ec76ca4 /source/blender/draw/engines/eevee | |
parent | 92d1e6606c94a261349019fdcbb612069e0b990a (diff) |
Cleanup: correct const usage
Diffstat (limited to 'source/blender/draw/engines/eevee')
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_shaders.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_shaders.c b/source/blender/draw/engines/eevee/eevee_shaders.c index 40ea34f21e3..15a4a8fb304 100644 --- a/source/blender/draw/engines/eevee/eevee_shaders.c +++ b/source/blender/draw/engines/eevee/eevee_shaders.c @@ -271,10 +271,13 @@ GPUShader *EEVEE_shaders_velocity_resolve_sh_get(void) GPUShader *EEVEE_shaders_taa_resolve_sh_get(EEVEE_EffectsFlag enabled_effects) { GPUShader **sh; - char *define = NULL; + const char *define = NULL; if (enabled_effects & EFFECT_TAA_REPROJECT) { sh = &e_data.taa_resolve_reproject_sh; define = "#define USE_REPROJECTION\n"; + + + } else { sh = &e_data.taa_resolve_sh; |