mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Polymer: fix ANM playback.
References: - r3742 - r4038 (fixing savegame screenshots, but introducing the now fixed bug) git-svn-id: https://svn.eduke32.com/eduke32@4094 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
1181121729
commit
4d71ed75d2
1 changed files with 1 additions and 1 deletions
|
@ -4625,7 +4625,7 @@ static void polymer_getbuildmaterial(_prmaterial* material, int16_t tile
|
||||||
}
|
}
|
||||||
|
|
||||||
// Lazily fill in all the textures we need, move this to precaching later
|
// Lazily fill in all the textures we need, move this to precaching later
|
||||||
if (pr_artmapping && (!pth || !pth->hicr) && tilenum <= (MAXTILES - 4)) {
|
if (pr_artmapping && (!pth || !pth->hicr) && tilenum < (MAXTILES - 4)) {
|
||||||
if (!prartmaps[tilenum]) {
|
if (!prartmaps[tilenum]) {
|
||||||
char *tilebuffer = (char *)waloff[tilenum];
|
char *tilebuffer = (char *)waloff[tilenum];
|
||||||
char *tempbuffer = (char *)Bmalloc(tilesizx[tilenum] * tilesizy[tilenum]);
|
char *tempbuffer = (char *)Bmalloc(tilesizx[tilenum] * tilesizy[tilenum]);
|
||||||
|
|
Loading…
Reference in a new issue