From 321eac8aaadca112ecfe782065d3f23888203a08 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Tue, 12 Apr 2016 01:07:37 -0600 Subject: [PATCH] light: make PrintFaceInfo non static --- include/light/light.h | 3 +++ light/ltface.c | 5 +---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/light/light.h b/include/light/light.h index a759bb66..e2c9421e 100644 --- a/include/light/light.h +++ b/include/light/light.h @@ -283,6 +283,9 @@ extern qboolean phongDebug; extern char mapfilename[1024]; +void +PrintFaceInfo(const bsp2_dface_t *face, const bsp2_t *bsp); + #ifdef __cplusplus } #endif diff --git a/light/ltface.c b/light/ltface.c index f9b340ea..974eb054 100644 --- a/light/ltface.c +++ b/light/ltface.c @@ -192,9 +192,6 @@ FaceCentroid(const bsp2_dface_t *face, const bsp2_t *bsp, vec3_t out) VectorScale(poly_centroid, 1.0 / poly_area, out); } -static void -PrintFaceInfo(const bsp2_dface_t *face, const bsp2_t *bsp); - /* * ================ * CreateFaceTransform @@ -271,7 +268,7 @@ WorldToTexCoord(const vec3_t world, const texinfo_t *tex, vec_t coord[2]) } /* Debug helper - move elsewhere? */ -static void +void PrintFaceInfo(const bsp2_dface_t *face, const bsp2_t *bsp) { const texinfo_t *tex = &bsp->texinfo[face->texinfo];