Explorar o código

Properly initiates the max number of drops per batch to avoid possible corruption issues.

Areloch %!s(int64=9) %!d(string=hai) anos
pai
achega
e06018aeea
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Engine/source/T3D/fx/precipitation.cpp

+ 1 - 0
Engine/source/T3D/fx/precipitation.cpp

@@ -298,6 +298,7 @@ Precipitation::Precipitation()
    mSplashShaderCameraPosSC = NULL;
    mSplashShaderAmbientSC = NULL;
 
+   mMaxVBDrops = 5000;
 }
 
 Precipitation::~Precipitation()