mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-04-21 01:31:08 +00:00
rename texture to hwrTexture
This commit is contained in:
parent
6ffd18ea2b
commit
3408a6560f
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -79,7 +79,7 @@ typedef struct
|
|||
// for textures
|
||||
UINT8 *picture;
|
||||
#ifdef HWRENDER
|
||||
void *texture;
|
||||
void *hwrTexture;
|
||||
#endif
|
||||
} levelflat_t;
|
||||
|
||||
|
|
Loading…
Reference in a new issue