mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 01:06:00 +08:00
[unity] Prevented a warning to appear in Unity 2017.3 and newer. Code auto-update previously caused mixed line endings.
This commit is contained in:
parent
58e495ecae
commit
751476265b
@ -5,7 +5,11 @@
|
||||
|
||||
#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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user