]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
move these declarations to where they belong
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 18 Oct 2011 06:58:29 +0000 (06:58 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 18 Oct 2011 06:58:29 +0000 (06:58 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11441 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c
r_shadow.h

index 2eff5f3e4b105f201bd051f3b88bcff6634c66e2..b9cd652452915da9ba3b89a81b488c1c79191902 100644 (file)
@@ -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);
 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)
 extern cvar_t cl_decals_newsystem;
 extern qboolean r_shadow_usingdeferredprepass;
 void R_RenderScene(int fbo, rtexture_t *depthtexture, rtexture_t *colortexture)
index 97f073f7ac0ee4ca2dbc51d77bf3dc4e6fa928dc..d4d4b078f2db3bc5f173047e2eb1fa12f6433a04 100644 (file)
@@ -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_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
 #endif