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:
authorPhilipp Oeser <info@graphics-engineer.com>2022-09-30 11:26:12 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2022-09-30 11:27:48 +0300
commit6865aab133db9917bb1598846de5e060d2106241 (patch)
tree226efbabba29c75bb8bcbf2769679e17cbf22cf0 /source/blender/draw/intern/draw_pbvh.cc
parentdbc097d6b8f8391832d8ffe051ca7ffaf37853fe (diff)
Cleanup: quiet unused parameter warning in lambda function
Copy-paste error in rB039429faeb41.
Diffstat (limited to 'source/blender/draw/intern/draw_pbvh.cc')
-rw-r--r--source/blender/draw/intern/draw_pbvh.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_pbvh.cc b/source/blender/draw/intern/draw_pbvh.cc
index b5ad47b09ef..a1ea18aa0d1 100644
--- a/source/blender/draw/intern/draw_pbvh.cc
+++ b/source/blender/draw/intern/draw_pbvh.cc
@@ -580,7 +580,7 @@ struct PBVHBatches {
uchar fset_color[3] = {255, 255, 255};
foreach_faces(
- [&](int /*buffer_i*/, int /*tri_i*/, int /*vertex_i*/, const MLoopTri *tri) {
+ [&](int /*buffer_i*/, int /*tri_i*/, int /*vertex_i*/, const MLoopTri * /*tri*/) {
*static_cast<uchar3 *>(GPU_vertbuf_raw_step(&access)) = fset_color;
});
}