mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-19 13:32:59 +01:00
Cleanup.
This commit is contained in:
@@ -33,7 +33,7 @@ namespace entry
|
||||
static void initTranslateKey(uint16_t _xk, Key::Enum _key)
|
||||
{
|
||||
_xk += 256;
|
||||
BX_CHECK(_xk < countof(s_translateKey), "Out of bounds %d.", _xk);
|
||||
BX_CHECK(_xk < BX_COUNTOF(s_translateKey), "Out of bounds %d.", _xk);
|
||||
s_translateKey[_xk&0x1ff] = (uint8_t)_key;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user