diff --git a/WickedEngine/wiHairParticle.cpp b/WickedEngine/wiHairParticle.cpp index edcadd90a..ff6e603e3 100644 --- a/WickedEngine/wiHairParticle.cpp +++ b/WickedEngine/wiHairParticle.cpp @@ -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; diff --git a/WickedEngine/wiVersion.cpp b/WickedEngine/wiVersion.cpp index 09f06f8fc..1ef4be6b9 100644 --- a/WickedEngine/wiVersion.cpp +++ b/WickedEngine/wiVersion.cpp @@ -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()