浏览代码

Distortion: typo

trethaller 4 年之前
父节点
当前提交
a3975b77b3
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      hrt/prefab/rfx/Distortion.hx

+ 0 - 2
hrt/prefab/rfx/Distortion.hx

@@ -21,8 +21,6 @@ class Distortion extends RendererFX {
 
 	override function end( r:h3d.scene.Renderer, step:h3d.impl.RendererFX.Step ) {
 		if( step == BeforeTonemapping ) {
-			r.mark("Distortion");
-
 			r.mark("Distortion");
 			var distortionMap = r.allocTarget("distortion", true, 1.0, RG16F);
 			r.ctx.setGlobal("distortion", distortionMap);