Browse Source

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

Areloch 9 years ago
parent
commit
e06018aeea
1 changed files with 1 additions and 0 deletions
  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;
    mSplashShaderCameraPosSC = NULL;
    mSplashShaderAmbientSC = NULL;
    mSplashShaderAmbientSC = NULL;
 
 
+   mMaxVBDrops = 5000;
 }
 }
 
 
 Precipitation::~Precipitation()
 Precipitation::~Precipitation()