removing some old code

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@107 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-09-01 22:57:29 +00:00
parent f483806d55
commit 9a8a8fecea
2 changed files with 2 additions and 8 deletions

View file

@ -235,7 +235,6 @@ qbyte *GLMod_LeafPVS (struct mleaf_s *leaf, struct model_s *model, qbyte *buffer
qbyte *GLMod_LeafnumPVS (int leafnum, struct model_s *model, qbyte *buffer);
void GLMod_Think (void);
void GLMod_ReloadTextures(void);
void GLMod_NowLoadExternal(void);
void GLR_WipeStains(void);
void R_LoadSkys (void);
@ -254,7 +253,6 @@ struct mleaf_s *SWMod_PointInLeaf (float *p, struct model_s *model);
qbyte *SWMod_LeafPVS (struct mleaf_s *leaf, struct model_s *model, qbyte *buffer);
void SWMod_Think (void);
void SWMod_ReloadTextures(void);
void SWMod_NowLoadExternal(void);
#endif

View file

@ -552,8 +552,6 @@ void (*Mod_TouchModel) (char *name);
struct mleaf_s *(*Mod_PointInLeaf) (float *p, struct model_s *model);
qbyte *(*Mod_Q1LeafPVS) (struct mleaf_s *leaf, struct model_s *model, qbyte *buffer);
void (*Mod_NowLoadExternal) (void);
void (*Mod_ReloadTextures) (void);
void (*Mod_Think) (void);
@ -808,7 +806,6 @@ void R_SetRenderer(r_qrenderer_t wanted)
Mod_PointInLeaf = SWMod_PointInLeaf;
Mod_Q1LeafPVS = SWMod_LeafPVS;
Mod_NowLoadExternal = SWMod_NowLoadExternal;
Mod_ReloadTextures = SWMod_ReloadTextures;
#else
Mod_Init = GLMod_Init;
Mod_Think = GLMod_Think;
@ -821,7 +818,6 @@ void R_SetRenderer(r_qrenderer_t wanted)
Mod_PointInLeaf = GLMod_PointInLeaf;
Mod_Q1LeafPVS = GLMod_LeafPVS;
Mod_NowLoadExternal = GLMod_NowLoadExternal;
Mod_ReloadTextures = GLMod_ReloadTextures;
#endif
@ -894,7 +890,6 @@ void R_SetRenderer(r_qrenderer_t wanted)
Mod_PointInLeaf = SWMod_PointInLeaf;
Mod_Q1LeafPVS = SWMod_LeafPVS;
Mod_NowLoadExternal = SWMod_NowLoadExternal;
Mod_ReloadTextures = SWMod_ReloadTextures;
@ -968,7 +963,6 @@ void R_SetRenderer(r_qrenderer_t wanted)
Mod_PointInLeaf = GLMod_PointInLeaf;
Mod_Q1LeafPVS = GLMod_LeafPVS;
Mod_NowLoadExternal = GLMod_NowLoadExternal;
Mod_ReloadTextures = GLMod_ReloadTextures;
@ -1018,6 +1012,8 @@ qboolean R_ApplyRenderer (rendererstate_t *newr)
Hunk_FreeToLowMark(host_hunklevel); //is this a good idea?
gl_skyboxname.modified = true;
if (qrenderer) //graphics stuff only when not dedicated
{
qbyte *data;