Ver código fonte

DX12 : Fix typo

TothBenoit 1 ano atrás
pai
commit
0fe2dd4a31
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      h3d/impl/DX12Driver.hx

+ 1 - 1
h3d/impl/DX12Driver.hx

@@ -627,7 +627,7 @@ class DX12Driver extends h3d.impl.Driver {
 			tmp.resourcesToTransition.resize(tmp.maxBarriers);
 			tmp.resourcesToTransition.resize(tmp.maxBarriers);
 		}
 		}
 
 
-		// If state is different from targetState, a barrier has already been requested so we just have to udpate the targetState
+		// If state is different from targetState, a barrier has already been requested so we just have to update the targetState
 		if (res.state == res.targetState)
 		if (res.state == res.targetState)
 			tmp.resourcesToTransition[tmp.barrierCount++] = res;
 			tmp.resourcesToTransition[tmp.barrierCount++] = res;
 		res.targetState = to;
 		res.targetState = to;