Use int instead of uint for compatibility with optimizer level 0

This commit is contained in:
Anthony Miles 2019-12-14 18:03:40 +13:00 committed by patrickvl
parent f8b1e35482
commit 1cebf018e2
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ VS_OUTPUT main(const VS_INPUT xIn)
// Initialize input registers from the vertex buffer
// Or use an override value set with SetVertexData4f
for(uint i = 0; i < 16; i++){
for(int i = 0; i < 16; i++){
v[i] = vOverride[i] ? vOverrideValue[i] : xIn.v[i];
}