CFluidPlaneCPU: Initialize m_cachedDoubleLightmapBlend and m_cachedAdditive

Provides a deterministic initial state upon construction.
This commit is contained in:
Lioncash 2020-04-13 16:27:18 -04:00
parent 498c940479
commit 9f21f8ef55
1 changed files with 2 additions and 2 deletions

View File

@ -60,8 +60,8 @@ protected:
u32 m_maxVertCount; u32 m_maxVertCount;
bool m_tessellation = false; bool m_tessellation = false;
bool m_cachedDoubleLightmapBlend; bool m_cachedDoubleLightmapBlend = false;
bool m_cachedAdditive; bool m_cachedAdditive = false;
static bool PrepareRipple(const CRipple& ripple, const CFluidPlaneRender::SPatchInfo& info, static bool PrepareRipple(const CRipple& ripple, const CFluidPlaneRender::SPatchInfo& info,
CFluidPlaneRender::SRippleInfo& rippleOut); CFluidPlaneRender::SRippleInfo& rippleOut);