From 0796807720882731cdb70be144aa182e9b0b9ee5 Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Wed, 7 Oct 2020 13:49:14 +0200 Subject: CleanUp: Introduce `eMeshBatchDirtyMode` enum It used to be an `int mode`. --- source/blender/draw/intern/draw_cache_impl_lattice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/draw/intern/draw_cache_impl_lattice.c') diff --git a/source/blender/draw/intern/draw_cache_impl_lattice.c b/source/blender/draw/intern/draw_cache_impl_lattice.c index 0f80b5159a7..0c5bbbb89f5 100644 --- a/source/blender/draw/intern/draw_cache_impl_lattice.c +++ b/source/blender/draw/intern/draw_cache_impl_lattice.c @@ -294,7 +294,7 @@ static LatticeBatchCache *lattice_batch_cache_get(Lattice *lt) return lt->batch_cache; } -void DRW_lattice_batch_cache_dirty_tag(Lattice *lt, int mode) +void DRW_lattice_batch_cache_dirty_tag(Lattice *lt, eMeshBatchDirtyMode mode) { LatticeBatchCache *cache = lt->batch_cache; if (cache == NULL) { -- cgit v1.2.3