Skip to content

Commit 43dc04f

Browse files
authored
Merge pull request UnityCommunity#71 from johntday/master
Graphic.Blit ambiguous method signature
2 parents 936e19d + 63b0bdb commit 43dc04f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Assets/Scripts/Docs/Graphics/Graphics_Blit.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void OnPostRender()
2626
{
2727
// Copies source texture into destination render texture with a shader
2828
// Destination RenderTexture is null to blit directly to screen
29-
Graphics.Blit(displayTexture, null, mat);
29+
Graphics.Blit(displayTexture, null as RenderTexture, mat);
3030
}
3131
}
3232
}

0 commit comments

Comments
 (0)