mirror of https://github.com/bkaradzic/bgfx
Cleanup.
This commit is contained in:
parent
c3ece49892
commit
3aa9538a9a
|
@ -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 New Issue