mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 08:38:43 +08:00
[unity] Fixed a compile error on older .NET versions, introduced by last commit 75efe44. See #1765.
This commit is contained in:
parent
75efe44fab
commit
c3bfac7edd
@ -302,7 +302,7 @@ namespace Spine.Unity {
|
||||
var requiredChannels =
|
||||
AdditionalCanvasShaderChannels.TexCoord1 |
|
||||
AdditionalCanvasShaderChannels.TexCoord2;
|
||||
return !canvas.additionalShaderChannels.HasFlag(requiredChannels); // HasFlag returns true if both are set.
|
||||
return (canvas.additionalShaderChannels & requiredChannels) != requiredChannels;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user