mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- picanmbackup must be initialized.
This commit is contained in:
parent
6007d5dc8f
commit
9bb1e43c9f
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ void BuildTiles::AddTiles (int firsttile, TArray<uint8_t>& RawData, bool permap)
|
|||
auto tex = GetTileTexture("", RawData, uint32_t(tiledata - tiles), width, height);
|
||||
AddTile(i, tex);
|
||||
int leftoffset, topoffset;
|
||||
this->tiledata[i].picanm = tileConvertAnimFormat(anm, &leftoffset, &topoffset);
|
||||
this->tiledata[i].picanmbackup = this->tiledata[i].picanm = tileConvertAnimFormat(anm, &leftoffset, &topoffset);
|
||||
tex->SetOffsets(leftoffset, topoffset);
|
||||
|
||||
tiledata += size;
|
||||
|
|
Loading…
Reference in a new issue