light: make some functions non-static so they show up in profiling

This commit is contained in:
Eric Wasylishen 2016-04-29 20:33:15 -06:00
parent 83a5ef303d
commit afc43b0c55
1 changed files with 3 additions and 3 deletions

View File

@ -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)
{