build: fix build (avoid std::identity)
This commit is contained in:
parent
895a28584c
commit
356e5ab963
|
|
@ -3279,7 +3279,7 @@ void DirectLightFace(const mbsp_t *bsp, lightsurf_t &lightsurf, const settings::
|
|||
LightFace_LocalMin(bsp, face, &lightsurf, lightmaps);
|
||||
|
||||
if (!modelinfo->isWorld() &&
|
||||
std::all_of(lightsurf.occluded.begin(), lightsurf.occluded.end(), std::identity{})) {
|
||||
std::all_of(lightsurf.occluded.begin(), lightsurf.occluded.end(), [](bool v) { return v; })) {
|
||||
LightFace_AutoMin(bsp, face, &lightsurf, lightmaps);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue