Skip to content

Commit 3e03541

Browse files
committed
UNITY_INITIALIZE_OUTPUT defined to nothing in OpenGL ES iOS build which was causing graphics issues on iOS.
1 parent 221c58c commit 3e03541

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Assets/LowEndMobilePipeline/LowEndMobilePipeline.shader

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,7 @@ Shader "ScriptableRenderPipeline/LowEndMobile"
8585

8686
v2f vert(LowendVertexInput v)
8787
{
88-
v2f o;
89-
UNITY_INITIALIZE_OUTPUT(v2f, o);
88+
v2f o = (v2f)0;
9089

9190
o.uv01.xy = TRANSFORM_TEX(v.texcoord, _MainTex);
9291
o.uv01.zw = v.lightmapUV * unity_LightmapST.xy + unity_LightmapST.zw;

0 commit comments

Comments
 (0)