mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 02:25:37 -05:00
Cleanup.
This commit is contained in:
parent
c3ece49892
commit
3aa9538a9a
1 changed files with 1 additions and 0 deletions
|
@ -808,6 +808,7 @@ namespace bgfx
|
|||
|
||||
const char* getName(SpvDecoration::Enum _enum)
|
||||
{
|
||||
BX_UNUSED(s_spvDecorationInfo);
|
||||
BX_CHECK(_enum <= SpvDecoration::Count, "Unknown decoration id %d.", _enum);
|
||||
return _enum <= SpvDecoration::Count
|
||||
? s_spvDecoration[_enum]
|
||||
|
|
Loading…
Reference in a new issue