mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-29 07:41:47 +00:00
soft: get rid unused R_PolysetUpdateTables
This commit is contained in:
parent
bfeb842bd3
commit
79c71c7a68
3 changed files with 0 additions and 30 deletions
|
@ -343,7 +343,6 @@ extern qboolean r_dowarp;
|
|||
extern affinetridesc_t r_affinetridesc;
|
||||
|
||||
void D_WarpScreen(void);
|
||||
void R_PolysetUpdateTables(void);
|
||||
|
||||
//=======================================================================//
|
||||
|
||||
|
|
|
@ -529,8 +529,6 @@ R_AliasSetupSkin(const entity_t *currententity, const model_t *currentmodel)
|
|||
r_affinetridesc.skinwidth = pskindesc->width;
|
||||
r_affinetridesc.skinheight = pskindesc->height;
|
||||
|
||||
R_PolysetUpdateTables (); // FIXME: precalc edge lookups
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -77,10 +77,6 @@ static light3_t d_lightbasestep, d_lightextrastep;
|
|||
static int d_sfracbasestep, d_tfracbasestep;
|
||||
static zvalue_t d_ziextrastep, d_zibasestep;
|
||||
|
||||
static byte *skintable[MAX_LBM_HEIGHT];
|
||||
int skinwidth;
|
||||
static pixel_t *skinstart;
|
||||
|
||||
void (*d_pdrawspans)(const entity_t *currententity, spanpackage_t *pspanpackage);
|
||||
|
||||
static void R_PolysetSetEdgeTable(void);
|
||||
|
@ -131,29 +127,6 @@ static const byte irtable[256] = {
|
|||
|
||||
// ======================
|
||||
|
||||
/*
|
||||
================
|
||||
R_PolysetUpdateTables
|
||||
================
|
||||
*/
|
||||
void
|
||||
R_PolysetUpdateTables (void)
|
||||
{
|
||||
byte *s;
|
||||
|
||||
if (r_affinetridesc.skinwidth != skinwidth ||
|
||||
r_affinetridesc.pskin != skinstart)
|
||||
{
|
||||
int i;
|
||||
|
||||
skinwidth = r_affinetridesc.skinwidth;
|
||||
skinstart = r_affinetridesc.pskin;
|
||||
s = skinstart;
|
||||
for (i=0 ; i<MAX_LBM_HEIGHT ; i++, s+=skinwidth)
|
||||
skintable[i] = s;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
================
|
||||
R_DrawTriangle
|
||||
|
|
Loading…
Reference in a new issue