Browse Source

MeshBatch : removed ctx argument from flush

TothBenoit 9 tháng trước cách đây
mục cha
commit
febb371cc4
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      hrt/prefab/fx/gpuemitter/GPUEmitter.hx

+ 2 - 2
hrt/prefab/fx/gpuemitter/GPUEmitter.hx

@@ -106,8 +106,8 @@ class GPUEmitterObject extends h3d.scene.MeshBatch {
 		simulationPass.addShader(new BaseSimulation());
 	}
 
-	override function flush(ctx : h3d.scene.RenderContext) {
-		super.flush(ctx);
+	override function flush() {
+		super.flush();
 
 		var alloc = hxd.impl.Allocator.get();
 		if ( particleBuffers == null )