From afc43b0c55ff4b9939c39bba8c352ca77603a54f Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Fri, 29 Apr 2016 20:33:15 -0600 Subject: [PATCH] light: make some functions non-static so they show up in profiling --- light/ltface.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/light/ltface.c b/light/ltface.c index d3e9d9b4..7b938af1 100644 --- a/light/ltface.c +++ b/light/ltface.c @@ -1544,7 +1544,7 @@ LightFace_PhongDebug(const lightsurf_t *lightsurf, lightmap_t *lightmaps) } // returns color in [0,255] -static void GetIndirectLighting (const bsp2_t *bsp, const bouncelight_t *vpl, const bsp2_dface_t *face, const byte *pvs, const vec3_t origin, const vec3_t normal, vec3_t color) +void GetIndirectLighting (const bsp2_t *bsp, const bouncelight_t *vpl, const bsp2_dface_t *face, const byte *pvs, const vec3_t origin, const vec3_t normal, vec3_t color) { VectorSet(color, 0, 0, 0); @@ -1579,7 +1579,7 @@ static void GetIndirectLighting (const bsp2_t *bsp, const bouncelight_t *vpl, co } -static bool +bool BounceLight_SphereCull(const bsp2_t *bsp, const bouncelight_t *vpl, const lightsurf_t *lightsurf) { vec3_t color = {0}; @@ -1609,7 +1609,7 @@ BounceLight_SphereCull(const bsp2_t *bsp, const bouncelight_t *vpl, const lights return false; } -static void +void LightFace_Bounce(const bsp2_t *bsp, const bsp2_dface_t *face, const lightsurf_t *lightsurf, lightmap_t *lightmaps) {