mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-24 22:05:40 +00:00
corrects corruption in precipitation class
This commit is contained in:
parent
963ef1ecdb
commit
2723bfbc91
5 changed files with 9 additions and 7 deletions
|
|
@ -963,7 +963,7 @@ void Precipitation::initRenderObjects()
|
|||
|
||||
// Create a volitile vertex buffer which
|
||||
// we'll lock and fill every frame.
|
||||
mRainVB.set(GFX, mMaxVBDrops * 4, GFXBufferTypeVolatile);
|
||||
mRainVB.set(GFX, mMaxVBDrops * 4, GFXBufferTypeDynamic);
|
||||
|
||||
// Init the index buffer for rendering the
|
||||
// entire or a partially filled vb.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue