소스 검색

[DX12] Fix typo

TothBenoit 1 년 전
부모
커밋
d3db2a45d3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      h3d/impl/DX12Driver.hx

+ 1 - 1
h3d/impl/DX12Driver.hx

@@ -1228,7 +1228,7 @@ class DX12Driver extends h3d.impl.Driver {
 			// Remove the size cost of the root constant and add one descriptor table.
 			var withoutVP = total - vertexParamSizeCost + 1;
 			var withoutFP = total - fragmentParamSizeCost + 1;
-			if( withoutVP < 64 || ( withoutFP > 64 && withoutVP > 64 ) ) {
+			if( withoutVP <= 64 || ( withoutFP > 64 && withoutVP > 64 ) ) {
 				vertexParamsCBV = true;
 				total = withoutVP;
 			}