Преглед изворни кода

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

Areloch пре 9 година
родитељ
комит
e06018aeea
1 измењених фајлова са 1 додато и 0 уклоњено
  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()