浏览代码

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()