From: divverent Date: Tue, 18 Oct 2011 06:58:29 +0000 (+0000) Subject: move these declarations to where they belong X-Git-Tag: xonotic-v0.6.0~242 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=38ea98c37e5dc8ebdb93125c06dea3f309b6c9b7;p=xonotic%2Fdarkplaces.git move these declarations to where they belong git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11441 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=9cafeb9c531eb97406f23fd19cb7cc989b4d331b --- 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