Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Commit bc7f051

Browse files
committed
Fix bad merge in AO base code
1 parent cc05df5 commit bc7f051

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

PostProcessing/Runtime/Effects/AmbientOcclusion.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,6 @@ public IAmbientOcclusionMethod Get()
6363
}
6464

6565
public void Release()
66-
var tempAORTDesc = context.GetDescriptor(0, RenderTextureFormat.ARGB32, RenderTextureReadWrite.Linear);
67-
tempAORTDesc.width /= ts;
68-
tempAORTDesc.height /= ts;
69-
var tempBlurRTDesc = context.GetDescriptor(0, RenderTextureFormat.ARGB32, RenderTextureReadWrite.Linear);
70-
71-
cmd.GetTemporaryRT(rtMask, tw / ts, th / ts, 0, kFilter, kFormat, kRWMode);
72-
cmd.GetTemporaryRT(rtBlur, tw, th, 0, kFilter, kFormat, kRWMode);
73-
cmd.GetTemporaryRT(rtMask, tw, th, 0, kFilter, kFormat, kRWMode);
7466
{
7567
foreach (var m in m_Methods)
7668
m.Release();

0 commit comments

Comments
 (0)