Skip to content

Commit

Permalink
making texture public so that other classes can leverage it
Browse files Browse the repository at this point in the history
  • Loading branch information
danilogr committed Aug 15, 2022
1 parent b526e8b commit 136b8a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Runtime/JPEGTurboVideoPlayer/Scripts/JPEGStreamReceiver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public float GetAxisDimension(scaleMeshAxis axis)
private bool SetTexture = false;

#region Private info related to JPEG decoding and textures to display JPEG
Texture2D videoTexture;
public Texture2D videoTexture;
public int textureWidth, textureHeight;

// receives all encoded jpegs in a queue so that it can decode them
Expand Down

0 comments on commit 136b8a0

Please sign in to comment.