mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-29 13:00:43 +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);
|
auto tex = GetTileTexture("", RawData, uint32_t(tiledata - tiles), width, height);
|
||||||
AddTile(i, tex);
|
AddTile(i, tex);
|
||||||
int leftoffset, topoffset;
|
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);
|
tex->SetOffsets(leftoffset, topoffset);
|
||||||
|
|
||||||
tiledata += size;
|
tiledata += size;
|
||||||
|
|
Loading…
Reference in a new issue