rename texture to hwrTexture

This commit is contained in:
Jaime Ita Passos 2020-12-11 18:55:37 -03:00
parent 6ffd18ea2b
commit 3408a6560f
2 changed files with 3 additions and 3 deletions

View file

@ -922,7 +922,7 @@ void HWR_GetLevelFlat(levelflat_t *levelflat)
else if (levelflat->type == LEVELFLAT_PNG)
{
INT32 pngwidth = 0, pngheight = 0;
HWRTexture_t *texture = levelflat->texture;
HWRTexture_t *texture = levelflat->hwrTexture;
UINT8 *flat;
size_t size;
@ -940,7 +940,7 @@ void HWR_GetLevelFlat(levelflat_t *levelflat)
texture = Z_Calloc(sizeof(HWRTexture_t), PU_LEVEL, NULL);
texture->format = GPU_TEXFMT_P_8;
texture->flags = TF_WRAPXY|TF_CHROMAKEYED;
levelflat->texture = texture;
levelflat->hwrTexture = texture;
}
if (!texture->data && !texture->downloaded)

View file

@ -79,7 +79,7 @@ typedef struct
// for textures
UINT8 *picture;
#ifdef HWRENDER
void *texture;
void *hwrTexture;
#endif
} levelflat_t;