mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
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:
parent
e7b01bb6b6
commit
ece78f7605
5 changed files with 0 additions and 36 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue