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:
authorCampbell Barton <ideasman42@gmail.com>2021-06-07 17:11:05 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-06-07 17:23:09 +0300
commit72d2355af525664671ed6089b31d5bbe126cd865 (patch)
tree2960526bd8f15e465193fcfe0a5b6c9f2a314e0b /source/blender/draw/intern/draw_cache_impl_volume.c
parentdfac5a63bd1327e7748758267c51815e0ee28607 (diff)
Cleanup: remove redundant cast, use const casts
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 52ebf1b239e..a91a1391c31 100644
--- a/source/blender/draw/intern/draw_cache_impl_volume.c
+++ b/source/blender/draw/intern/draw_cache_impl_volume.c
@@ -152,7 +152,7 @@ typedef struct VolumeWireframeUserData {
} VolumeWireframeUserData;
static void drw_volume_wireframe_cb(
- void *userdata, float (*verts)[3], int (*edges)[2], int totvert, int totedge)
+ void *userdata, const float (*verts)[3], const int (*edges)[2], int totvert, int totedge)
{
VolumeWireframeUserData *data = userdata;
Scene *scene = data->scene;