浏览代码

MeshBatch : removed ctx argument from flush

TothBenoit 9 月之前
父节点
当前提交
febb371cc4
共有 1 个文件被更改,包括 2 次插入2 次删除
  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 )