Sfoglia il codice sorgente

MeshBatch : removed ctx argument from flush

TothBenoit 9 mesi fa
parent
commit
febb371cc4
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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 )