mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 23:11:58 +00:00
- fixed: FPNGTexture::fr could be left uninitialized.
This commit is contained in:
parent
9dbfa6d04e
commit
60b1f5c25a
1 changed files with 1 additions and 0 deletions
|
@ -211,6 +211,7 @@ FPNGTexture::FPNGTexture (FileReader &lump, int lumpnum, const FString &filename
|
|||
int i;
|
||||
|
||||
if (lumpnum == -1) fr = &lump;
|
||||
else fr = nullptr;
|
||||
|
||||
UseType = TEX_MiscPatch;
|
||||
LeftOffset = 0;
|
||||
|
|
Loading…
Reference in a new issue