changed sleep hack from 1sec to .2sec to speed up integ tests on build machine (todo: get rid of this hack)
This commit is contained in:
parent
93b593f13e
commit
d68e472d2f
|
@ -98,7 +98,7 @@ bool
|
||||||
COSXKeyStateTests::isKeyPressed(const COSXKeyState& keyState, KeyButton button)
|
COSXKeyStateTests::isKeyPressed(const COSXKeyState& keyState, KeyButton button)
|
||||||
{
|
{
|
||||||
// HACK: allow os to realize key state changes.
|
// HACK: allow os to realize key state changes.
|
||||||
ARCH->sleep(1);
|
ARCH->sleep(.2);
|
||||||
|
|
||||||
IKeyState::KeyButtonSet pressed;
|
IKeyState::KeyButtonSet pressed;
|
||||||
keyState.pollPressedKeys(pressed);
|
keyState.pollPressedKeys(pressed);
|
||||||
|
|
Loading…
Reference in New Issue