- fixed default initialization of software warp textures

https://forum.zdoom.org/viewtopic.php?t=62979
This commit is contained in:
alexey.lysiuk 2018-12-22 14:15:35 +02:00
parent fb540d6d2b
commit 9446ddb318

View file

@ -155,7 +155,7 @@ class FWarpTexture : public FSoftwareTexture
TArray<uint32_t> WarpedPixelsRgba;
int bWarped = 0;
uint64_t GenTime[3] = { 0, 0, 0 };
uint64_t GenTime[3] = { UINT64_MAX, UINT64_MAX, UINT64_MAX };
int WidthOffsetMultiplier, HeightOffsetMultiplier; // [mxd]
public:
@ -195,4 +195,4 @@ public:
DCanvas *GetCanvasBgra() { return CanvasBgra; }
bool Mipmapped() override { return false; }
};
};