Clean out some useless functions.

D_Start/EndParticles in the sw renderers will likely never have any
content, so no point in calling or even having them.
This commit is contained in:
Bill Currie 2012-01-15 09:34:10 +09:00
parent e7b01bb6b6
commit ece78f7605
5 changed files with 0 additions and 36 deletions

View file

@ -193,12 +193,10 @@ void D_DrawSprite (void);
void D_DrawSurfaces (void);
void D_DrawZPoint (void);
void D_EnableBackBufferAccess (void);
void D_EndParticles (void);
void D_Init (void);
void D_Init_Cvars (void);
void D_ViewChanged (void);
void D_SetupFrame (void);
void D_StartParticles (void);
void D_TurnZOn (void);
void D_WarpScreen (void);

View file

@ -35,20 +35,6 @@ static __attribute__ ((used)) const char rcsid[] =
#include "r_local.h"
void
D_EndParticles (void)
{
// not used by software driver
}
void
D_StartParticles (void)
{
// not used by software driver
}
#ifdef PIC
#undef USE_INTEL_ASM //XXX asm pic hack
#endif

View file

@ -757,8 +757,6 @@ R_DrawParticles (void)
float dvel, frametime, grav, time1, time2, time3;
particle_t *p, **particle;
D_StartParticles ();
VectorScale (vright, xscaleshrink, r_pright);
VectorScale (vup, yscaleshrink, r_pup);
VectorCopy (vpn, r_ppn);
@ -838,7 +836,6 @@ R_DrawParticles (void)
}
}
}
D_EndParticles ();
}
void

View file

@ -37,20 +37,6 @@ static __attribute__ ((used)) const char rcsid[] =
#include "r_local.h"
void
D_EndParticles (void)
{
// not used by software driver
}
void
D_StartParticles (void)
{
// not used by software driver
}
void
D_DrawParticle (particle_t *pparticle)
{

View file

@ -766,8 +766,6 @@ R_DrawParticles (void)
int i;
particle_t *p, **particle;
D_StartParticles ();
VectorScale (vright, xscaleshrink, r_pright);
VectorScale (vup, yscaleshrink, r_pup);
VectorCopy (vpn, r_ppn);
@ -848,7 +846,6 @@ R_DrawParticles (void)
}
}
}
D_EndParticles ();
}
void