Skip to content

Commit beeda93

Browse files
committed
Fix comparison mistake
1 parent a056763 commit beeda93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/USharpVideo/Scripts/Utility/RenderTextureOutput.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ private void LateUpdate()
3838
{
3939
Texture videoPlayerTex = videoPlayerManager.GetVideoTexture();
4040

41-
if (lastTex != videoPlayerManager)
41+
if (lastTex != videoPlayerTex)
4242
{
4343
outputMat.SetTexture("_SourceTexture", videoPlayerTex);
4444
outputMat.SetInt("_IsAVPro", System.Convert.ToInt32(sourceVideoPlayer.IsUsingAVProPlayer()));

0 commit comments

Comments
 (0)