File tree 2 files changed +8
-1
lines changed
Assets/Tayx/Graphy - Ultimate Stats Monitor
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -389,7 +389,7 @@ private void CheckDebugPackets()
389
389
return ;
390
390
}
391
391
392
- for ( var i = 0 ; i < m_debugPackets . Count ; i ++ )
392
+ for ( int i = 0 ; i < m_debugPackets . Count ; i ++ )
393
393
{
394
394
DebugPacket packet = m_debugPackets [ i ] ;
395
395
Original file line number Diff line number Diff line change 47
47
float4 vertex : POSITION ;
48
48
float4 color : COLOR ;
49
49
float2 texcoord : TEXCOORD0 ;
50
+ #if UNITY_2017_1_OR_NEWER
50
51
UNITY_VERTEX_INPUT_INSTANCE_ID
52
+ #endif
51
53
};
52
54
53
55
struct v2f
54
56
{
55
57
float4 vertex : SV_POSITION ;
56
58
fixed4 color : COLOR ;
57
59
float2 texcoord : TEXCOORD0 ;
60
+ #if UNITY_2017_1_OR_NEWER
58
61
UNITY_VERTEX_OUTPUT_STEREO
62
+ #endif
59
63
};
60
64
61
65
fixed4 _Color;
62
66
63
67
v2f vert (appdata_t IN)
64
68
{
65
69
v2f OUT;
70
+
71
+ #if UNITY_2017_1_OR_NEWER
66
72
UNITY_SETUP_INSTANCE_ID (IN);
67
73
UNITY_INITIALIZE_OUTPUT (v2f, OUT);
68
74
UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO (OUT);
75
+ #endif
69
76
70
77
OUT.vertex = UnityObjectToClipPos (IN.vertex);
71
78
OUT.texcoord = IN.texcoord;
You can’t perform that action at this time.
0 commit comments