From 9cafeb9c531eb97406f23fd19cb7cc989b4d331b Mon Sep 17 00:00:00 2001 From: divverent Date: Tue, 18 Oct 2011 06:58:29 +0000 Subject: [PATCH] move these declarations to where they belong git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11441 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rmain.c | 2 -- r_shadow.h | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gl_rmain.c b/gl_rmain.c index 2eff5f3e..b9cd6524 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -6993,8 +6993,6 @@ extern cvar_t cl_locs_show; static void R_DrawLocs(void); static void R_DrawEntityBBoxes(void); static void R_DrawModelDecals(void); -extern void R_DrawModelShadows(int fbo, rtexture_t *depthtexture, rtexture_t *colortexture); -extern void R_DrawModelShadowMaps(int fbo, rtexture_t *depthtexture, rtexture_t *colortexture); extern cvar_t cl_decals_newsystem; extern qboolean r_shadow_usingdeferredprepass; void R_RenderScene(int fbo, rtexture_t *depthtexture, rtexture_t *colortexture) diff --git a/r_shadow.h b/r_shadow.h index 97f073f7..d4d4b078 100644 --- a/r_shadow.h +++ b/r_shadow.h @@ -104,4 +104,7 @@ void R_Shadow_PrepareModelShadows(void); void R_LightPoint(vec3_t color, const vec3_t p, const int flags); void R_CompleteLightPoint(vec3_t ambientcolor, vec3_t diffusecolor, vec3_t diffusenormal, const vec3_t p, const int flags); +void R_DrawModelShadowMaps(int fbo, rtexture_t *depthtexture, rtexture_t *colortexture); +void R_DrawModelShadows(int fbo, rtexture_t *depthtexture, rtexture_t *colortexture); + #endif -- 2.39.2