mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-20 05:43:12 +01:00
Cleanup.
This commit is contained in:
@@ -85,7 +85,7 @@ struct InputKeyboard
|
||||
static uint32_t encodeKeyState(uint8_t _modifiers, bool _down)
|
||||
{
|
||||
uint32_t state = 0;
|
||||
state |= uint32_t(_modifiers)<<16;
|
||||
state |= uint32_t(_down ? _modifiers : 0)<<16;
|
||||
state |= uint32_t(_down)<<8;
|
||||
return state;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user