forked from bartvdbraak/blender
Code cleanup: remove NULL check
This commit is contained in:
parent
a85b85101b
commit
b72eca435e
@ -425,15 +425,8 @@ GHOST_TSuccess GHOST_SystemWin32::exit()
|
||||
|
||||
GHOST_TKey GHOST_SystemWin32::hardKey(GHOST_IWindow *window, RAWINPUT const& raw, int *keyDown, char *vk)
|
||||
{
|
||||
GHOST_TKey key = GHOST_kKeyUnknown;
|
||||
|
||||
|
||||
if (!keyDown)
|
||||
return GHOST_kKeyUnknown;
|
||||
|
||||
|
||||
GHOST_SystemWin32 *system = (GHOST_SystemWin32 *)getSystem();
|
||||
|
||||
GHOST_TKey key = GHOST_kKeyUnknown;
|
||||
GHOST_ModifierKeys modifiers;
|
||||
system->retrieveModifierKeys(modifiers);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user