hair particle system update

This commit is contained in:
turanszkij
2017-05-30 23:03:13 +02:00
parent 84cd694a1c
commit dc64b09869
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -357,10 +357,10 @@ void wiHairParticle::Generate()
GPUBufferDesc bd;
ZeroMemory(&bd, sizeof(bd));
bd.Usage = USAGE_DYNAMIC;
bd.Usage = USAGE_IMMUTABLE;
bd.ByteWidth = (UINT)(sizeof(Point) * points.size());
bd.BindFlags = BIND_VERTEX_BUFFER;
bd.CPUAccessFlags = CPU_ACCESS_WRITE;
bd.CPUAccessFlags = 0;
SubresourceData data = {};
data.pSysMem = points.data();
vb = new GPUBuffer;
+1 -1
View File
@@ -9,7 +9,7 @@ namespace wiVersion
// minor features, major updates
const int minor = 11;
// minor bug fixes, alterations, refactors, updates
const int revision = 61;
const int revision = 62;
long GetVersion()