mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-11-09 20:09:21 +01:00
rtx: fix too verbose logs for emissive patch
This commit is contained in:
parent
b593be9695
commit
fa63aedce9
@ -634,7 +634,9 @@ void VK_LightsAddEmissiveSurface( const struct vk_render_geometry_s *geom, const
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (emissive_color[0] == 0 && emissive_color[1] == 0 && emissive_color[2] == 0) {
|
if (emissive_color[0] == 0 && emissive_color[1] == 0 && emissive_color[2] == 0) {
|
||||||
gEngine.Con_Reportf("Surface %d got zero emissive color, not adding as a light source\n", surface_index);
|
if (static_map) {
|
||||||
|
gEngine.Con_Reportf("Surface %d got zero emissive color, not adding as a light source\n", surface_index);
|
||||||
|
}
|
||||||
goto fin;
|
goto fin;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user