diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2021-03-02 16:11:16 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2021-03-02 16:11:16 +0300 |
commit | 8d6a79ffc28081061461b44d6864f62c2b08b3d0 (patch) | |
tree | 52b7e9b6cbc04321aa17ef996d4282d13b5d6d6a /source/blender/draw/engines/eevee/eevee_lightcache.c | |
parent | b9e1cc931ee901b153a0c3bb59fa36df6bc7b12d (diff) |
Fix error in rBb9e1cc931ee9
Bad copy paste...
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_lightcache.c')
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_lightcache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_lightcache.c b/source/blender/draw/engines/eevee/eevee_lightcache.c index 2324a538b7a..c2bd0d2b971 100644 --- a/source/blender/draw/engines/eevee/eevee_lightcache.c +++ b/source/blender/draw/engines/eevee/eevee_lightcache.c @@ -196,7 +196,7 @@ static uint eevee_lightcache_memsize_get(LightCache *lcache) return size; } -static bool eevee_lightcache_version_check(LightCache *lcache) +static bool eevee_lightcache_version_check(const LightCache *lcache) { switch (lcache->type) { case LIGHTCACHE_TYPE_STATIC: @@ -313,7 +313,7 @@ static bool EEVEE_lightcache_validate(const LightCache *light_cache, const int grid_len, const int irr_size[3]) { - if (!eevee_lightcache_version_check(lbake->lcache)) { + if (!eevee_lightcache_version_check(light_cache)) { return false; } |