Skip to content

Commit

Permalink
Workaround for issue #200
Browse files Browse the repository at this point in the history
  • Loading branch information
keijiro committed Jun 14, 2024
1 parent 654aa16 commit fe85d33
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jp.keijiro.klak.ndi/Runtime/Internal/FormatConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,11 @@ public RenderTexture
if (_decoderOutput == null)
{
CheckDimensions(width, height);
#if KLAK_NDI_ISSUE200_WORKAROUND
_decoderOutput = new RenderTexture(width, height, 0, RenderTextureFormat.ARGBHalf);
#else
_decoderOutput = new RenderTexture(width, height, 0);
#endif
_decoderOutput.enableRandomWrite = true;
_decoderOutput.Create();
}
Expand Down

0 comments on commit fe85d33

Please sign in to comment.