Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <jeroen@blender.org>2020-10-07 14:49:14 +0300
committerJeroen Bakker <jeroen@blender.org>2020-10-07 17:18:12 +0300
commit0796807720882731cdb70be144aa182e9b0b9ee5 (patch)
tree5063394eb04b828e5d7f18db3baa5e5753dea2a0 /source/blender/draw/intern/draw_cache_impl_volume.c
parent13391038a5ce38835e1a7e9aa727f9c78f2e8dcd (diff)
CleanUp: Introduce `eMeshBatchDirtyMode` enum
It used to be an `int mode`.
Diffstat (limited to 'source/blender/draw/intern/draw_cache_impl_volume.c')
-rw-r--r--source/blender/draw/intern/draw_cache_impl_volume.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_cache_impl_volume.c b/source/blender/draw/intern/draw_cache_impl_volume.c
index 10bacadb199..b9eef066533 100644
--- a/source/blender/draw/intern/draw_cache_impl_volume.c
+++ b/source/blender/draw/intern/draw_cache_impl_volume.c
@@ -107,7 +107,7 @@ static VolumeBatchCache *volume_batch_cache_get(Volume *volume)
return volume->batch_cache;
}
-void DRW_volume_batch_cache_dirty_tag(Volume *volume, int mode)
+void DRW_volume_batch_cache_dirty_tag(Volume *volume, eMeshBatchDirtyMode mode)
{
VolumeBatchCache *cache = volume->batch_cache;
if (cache == NULL) {