Browse Source

GPUMeshBatch: fix compilation

Yuxiao Mao 1 month ago
parent
commit
4bfe060102
1 changed files with 1 additions and 1 deletions
  1. 1 1
      h3d/scene/GPUMeshBatch.hx

+ 1 - 1
h3d/scene/GPUMeshBatch.hx

@@ -217,7 +217,7 @@ class GPUMeshBatch extends MeshBatch {
 		computeShader.matInfos = matInfos;
 		computeShader.instanceCount = instanceCount;
 
-		var commandCountNeeded : Int
+		var commandCountNeeded : Int;
 		if ( emittedSubParts != null ) {
 			commandCountNeeded = instanceCount;
 			var computeShader : h3d.shader.InstanceIndirect.SubPartInstanceIndirect = cast computeShader;