mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[unity] Fixed shader compile error occurring during build on Unity URP versions 12.x and 13.x. See related commit 2f1b0b8. (Not related to last commit 1fa6c2e.)
This commit is contained in:
parent
1fa6c2edbb
commit
f0c53a757f
@ -14,7 +14,11 @@
|
|||||||
#ifdef _LIGHT_LAYERS
|
#ifdef _LIGHT_LAYERS
|
||||||
uint GetMeshRenderingLayerBackwardsCompatible()
|
uint GetMeshRenderingLayerBackwardsCompatible()
|
||||||
{
|
{
|
||||||
|
#if IS_URP_14_OR_NEWER
|
||||||
return GetMeshRenderingLayer();
|
return GetMeshRenderingLayer();
|
||||||
|
#else
|
||||||
|
return GetMeshRenderingLightLayer();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
uint GetMeshRenderingLayerBackwardsCompatible()
|
uint GetMeshRenderingLayerBackwardsCompatible()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user