Fix indexing error

This commit is contained in:
Austin Eng 2017-08-18 11:26:58 -04:00 committed by Austin Eng
parent 4086effec0
commit a384c61f7a
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ namespace backend {
return;
}
if (!IsAligned(bufferViews[i]->GetOffset(), 256)) {
if (!IsAligned(bufferViews[j]->GetOffset(), 256)) {
HandleError("Buffer view offset for bind group needs to be 256-byte aligned");
return;
}