diff options
author | Campbell Barton <campbell@blender.org> | 2022-07-01 04:18:56 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-07-01 04:18:56 +0300 |
commit | 90f4b35bc22d5c4fa1b4579514e1596ae9d131b1 (patch) | |
tree | e2537cfc02eacc319daa07a777ebb9d821c488dc /source/blender/draw/engines/eevee_next | |
parent | c15ae2e87b26cfeb3f299dedbd566825a70b2611 (diff) |
Cleanup: remove unused argument
Diffstat (limited to 'source/blender/draw/engines/eevee_next')
-rw-r--r-- | source/blender/draw/engines/eevee_next/eevee_film.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/eevee_next/eevee_film.cc b/source/blender/draw/engines/eevee_next/eevee_film.cc index 44737018c62..84a84e21a2a 100644 --- a/source/blender/draw/engines/eevee_next/eevee_film.cc +++ b/source/blender/draw/engines/eevee_next/eevee_film.cc @@ -120,7 +120,7 @@ void Film::sync_mist() const ::World *world = inst_.scene->world; float mist_start = world ? world->miststa : cam.clip_near; float mist_distance = world ? world->mistdist : fabsf(cam.clip_far - cam.clip_near); - int mist_type = world ? world->mistype : WO_MIST_LINEAR; + int mist_type = world ? world->mistype : (int)WO_MIST_LINEAR; switch (mist_type) { case WO_MIST_QUADRATIC: |