mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-23 20:17:58 -04:00
remove unused totalwidth variable from R_InitTextures()
This commit is contained in:
parent
0b03285275
commit
c36c5da9ea
@ -543,7 +543,6 @@ void R_InitTextures (void)
|
||||
char *names;
|
||||
char *name_p;
|
||||
int *patchlookup;
|
||||
int totalwidth;
|
||||
int nummappatches;
|
||||
int offset;
|
||||
int maxoff, maxoff2;
|
||||
@ -626,8 +625,6 @@ void R_InitTextures (void)
|
||||
textureheight = Z_Malloc(numtextures*sizeof*textureheight, PU_STATIC, 0);
|
||||
texturebrightmap = Z_Malloc (numtextures * sizeof(*texturebrightmap), PU_STATIC, 0);
|
||||
|
||||
totalwidth = 0;
|
||||
|
||||
{ // Really complex printing shit...
|
||||
int temp1 = W_GetNumForName("S_START");
|
||||
int temp2 = W_GetNumForName("S_END") - 1;
|
||||
@ -720,8 +717,6 @@ void R_InitTextures (void)
|
||||
texturewidthmask[i] = j-1;
|
||||
textureheight[i] = texture->height<<FRACBITS;
|
||||
texturewidth[i] = texture->width;
|
||||
|
||||
totalwidth += texture->width;
|
||||
}
|
||||
|
||||
Z_Free(patchlookup); // killough
|
||||
|
Loading…
x
Reference in New Issue
Block a user