mixer working except when changing plane, previous sample does't work in this case

This commit is contained in:
2018-08-01 16:47:13 +02:00
parent 663863fe44
commit 76033a1ca8
5 changed files with 34 additions and 5 deletions

View File

@@ -236,6 +236,7 @@ void ui::Plane::update_vertices(const glm::vec4* data, const glm::vec2* uvs, con
if (uvs2)
vertices[i].uvs2 = uvs2[i];
vertices[i].uvs *= q;
vertices[i].uvs2 *= q;
vertices[i].pos.z = q;
}