diff options
author | Ankit Meel <ankitjmeel@gmail.com> | 2020-07-17 10:20:08 +0300 |
---|---|---|
committer | Ankit Meel <ankitjmeel@gmail.com> | 2020-07-17 14:42:46 +0300 |
commit | bf2bb6db26113d4c097d3f9201d40d295da223f5 (patch) | |
tree | df67d088e3a7ca59e55454a15e2977336f239307 /source | |
parent | 0e3d34e48f5d5ed3845b1858a66008ab87c55af8 (diff) |
Cleanup: silence unused variable warning
Reviewed By: fclem
Differential Revision: https://developer.blender.org/D8328
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/draw/intern/draw_cache_impl_pointcloud.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_cache_impl_pointcloud.c b/source/blender/draw/intern/draw_cache_impl_pointcloud.c index 5977c60335f..17902f27513 100644 --- a/source/blender/draw/intern/draw_cache_impl_pointcloud.c +++ b/source/blender/draw/intern/draw_cache_impl_pointcloud.c @@ -270,6 +270,7 @@ GPUBatch **DRW_cache_pointcloud_surface_shaded_get(Object *ob, PointCloud *pointcloud = ob->data; PointCloudBatchCache *cache = pointcloud_batch_cache_get(pointcloud); BLI_assert(cache->mat_len == gpumat_array_len); + UNUSED_VARS(gpumat_array_len); if (cache->surface_per_mat[0] == NULL) { pointcloud_batch_cache_ensure_pos(ob, cache); |