Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

State preRender not used? #869

Closed
AnderbergE opened this issue Jun 2, 2014 · 2 comments
Closed

State preRender not used? #869

AnderbergE opened this issue Jun 2, 2014 · 2 comments

Comments

@AnderbergE
Copy link

In the state manager there is a function "onPreRenderCallback" which is set up by the state having a "preRender" function. However, this seems to never be called?

@photonstorm
Copy link
Collaborator

Very true, it's a left-over from an earlier version. There is no need for it any more as it would execute at the exact same time as update would anyway.

photonstorm added a commit that referenced this issue Jul 2, 2014
…reRender function existing on the State, but it was never called. Have decided to add this in, so the core Game loop now calls state.preRender right before the renderer runs (thanks @AnderbergE #869)
@photonstorm
Copy link
Collaborator

Actually I've decided to add this in :) It's now in 2.0.6-dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants