add uv_scale values at TrousCreateInfo

This commit is contained in:
2020-10-22 21:23:35 +08:00
parent 71407aecad
commit 187f95b00f
2 changed files with 4 additions and 2 deletions

View File

@@ -703,8 +703,8 @@ namespace hgl
if(tcp)
{
// generate texture coordinates and stores it in the right position
*tcp = s; ++tcp;
*tcp = t; ++tcp;
*tcp = s*tci->uv_scale.x; ++tcp;
*tcp = t*tci->uv_scale.y; ++tcp;
}
if(tp)