mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 09:16:01 +08:00
[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:
parent
751476265b
commit
c8594a66c4
@ -5,11 +5,7 @@
|
|||||||
|
|
||||||
#ifdef UNITY_INSTANCING_ENABLED
|
#ifdef UNITY_INSTANCING_ENABLED
|
||||||
|
|
||||||
#if UNITY_2017_3_OR_NEWER
|
|
||||||
UNITY_INSTANCING_BUFFER_START(PerDrawSprite)
|
|
||||||
#else
|
|
||||||
UNITY_INSTANCING_CBUFFER_START(PerDrawSprite)
|
UNITY_INSTANCING_CBUFFER_START(PerDrawSprite)
|
||||||
#endif
|
|
||||||
// SpriteRenderer.Color while Non-Batched/Instanced.
|
// SpriteRenderer.Color while Non-Batched/Instanced.
|
||||||
fixed4 unity_SpriteRendererColorArray[UNITY_INSTANCED_ARRAY_SIZE];
|
fixed4 unity_SpriteRendererColorArray[UNITY_INSTANCED_ARRAY_SIZE];
|
||||||
// this could be smaller but that's how bit each entry is regardless of type
|
// this could be smaller but that's how bit each entry is regardless of type
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user