Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

check when setting timer seconds and allow 0 #156

Merged
merged 2 commits into from Aug 3, 2012

Conversation

Projects
None yet
2 participants
Contributor

winniehell commented Aug 3, 2012

No description provided.

Owner

nicolasgramlich commented Aug 3, 2012

Doesn't this cause an infinite loop when auto-resetting is turned on?

Contributor

winniehell commented Aug 3, 2012

yep, it did... fixed now.
(I tried to disable the timer by setting it to 0 - so now my workaround is to set it to a random number and setTimerCallbackTriggered(true) )

@nicolasgramlich nicolasgramlich pushed a commit that referenced this pull request Aug 3, 2012

Nicolas Gramlich Merge pull request #156 from winniehell/GLES2-pTimerSeconds_patch
Additional check in TimerHandler.setTimerSeconds.
e5efa2b

@nicolasgramlich nicolasgramlich merged commit e5efa2b into nicolasgramlich:GLES2 Aug 3, 2012

@winniehell winniehell deleted the winniehell-forks:GLES2-pTimerSeconds_patch branch Feb 26, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment