[unity] Reverting last commit changes again since Unity's auto code updater still causes mixed line endings on Unity 2019 due to ignoring #if branches in shaders. Will be changed in gitattributes instead to change cginc to lf.

This commit is contained in:
Harald Csaszar 2019-04-27 11:54:19 +02:00
parent 751476265b
commit c8594a66c4

View File

@ -5,11 +5,7 @@
#ifdef UNITY_INSTANCING_ENABLED
#if UNITY_2017_3_OR_NEWER
UNITY_INSTANCING_BUFFER_START(PerDrawSprite)
#else
UNITY_INSTANCING_CBUFFER_START(PerDrawSprite)
#endif
// SpriteRenderer.Color while Non-Batched/Instanced.
fixed4 unity_SpriteRendererColorArray[UNITY_INSTANCED_ARRAY_SIZE];
// this could be smaller but that's how bit each entry is regardless of type