Skip to content

Commit 6b0fad8

Browse files
author
Martin Pane
committed
Merge branch 'master' into dev
2 parents 5dded8f + ca9e516 commit 6b0fad8

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Assets/Tayx/Graphy - Ultimate Stats Monitor/Scripts/GraphyDebugger.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ private void CheckDebugPackets()
389389
return;
390390
}
391391

392-
for (var i = 0; i < m_debugPackets.Count; i++)
392+
for (int i = 0; i < m_debugPackets.Count; i++)
393393
{
394394
DebugPacket packet = m_debugPackets[i];
395395

Assets/Tayx/Graphy - Ultimate Stats Monitor/Shaders/GraphStandard.shader

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,25 +47,32 @@
4747
float4 vertex : POSITION;
4848
float4 color : COLOR;
4949
float2 texcoord : TEXCOORD0;
50+
#if UNITY_2017_1_OR_NEWER
5051
UNITY_VERTEX_INPUT_INSTANCE_ID
52+
#endif
5153
};
5254

5355
struct v2f
5456
{
5557
float4 vertex : SV_POSITION;
5658
fixed4 color : COLOR;
5759
float2 texcoord : TEXCOORD0;
60+
#if UNITY_2017_1_OR_NEWER
5861
UNITY_VERTEX_OUTPUT_STEREO
62+
#endif
5963
};
6064

6165
fixed4 _Color;
6266

6367
v2f vert(appdata_t IN)
6468
{
6569
v2f OUT;
70+
71+
#if UNITY_2017_1_OR_NEWER
6672
UNITY_SETUP_INSTANCE_ID(IN);
6773
UNITY_INITIALIZE_OUTPUT(v2f, OUT);
6874
UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(OUT);
75+
#endif
6976

7077
OUT.vertex = UnityObjectToClipPos(IN.vertex);
7178
OUT.texcoord = IN.texcoord;

0 commit comments

Comments
 (0)