diff options
author | Jeroen Bakker <jeroen@blender.org> | 2020-10-07 14:49:14 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2020-10-07 17:18:12 +0300 |
commit | 0796807720882731cdb70be144aa182e9b0b9ee5 (patch) | |
tree | 5063394eb04b828e5d7f18db3baa5e5753dea2a0 /source/blender/draw/intern/draw_cache_impl_particles.c | |
parent | 13391038a5ce38835e1a7e9aa727f9c78f2e8dcd (diff) |
CleanUp: Introduce `eMeshBatchDirtyMode` enum
It used to be an `int mode`.
Diffstat (limited to 'source/blender/draw/intern/draw_cache_impl_particles.c')
-rw-r--r-- | source/blender/draw/intern/draw_cache_impl_particles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_cache_impl_particles.c b/source/blender/draw/intern/draw_cache_impl_particles.c index 52d1fcfdb80..e04da8e2686 100644 --- a/source/blender/draw/intern/draw_cache_impl_particles.c +++ b/source/blender/draw/intern/draw_cache_impl_particles.c @@ -157,7 +157,7 @@ static ParticleBatchCache *particle_batch_cache_get(ParticleSystem *psys) return psys->batch_cache; } -void DRW_particle_batch_cache_dirty_tag(ParticleSystem *psys, int mode) +void DRW_particle_batch_cache_dirty_tag(ParticleSystem *psys, eMeshBatchDirtyMode mode) { ParticleBatchCache *cache = psys->batch_cache; if (cache == NULL) { |