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

Frame index #564

Merged
merged 2 commits into from Apr 18, 2013
Merged

Frame index #564

merged 2 commits into from Apr 18, 2013

Conversation

twpayne
Copy link
Contributor

@twpayne twpayne commented Apr 18, 2013

This PR fixes a bug on fast machines.

Previously, the time was used as a marker in the WebGL texture cache to delineate textures used in different frames. However, it is occasionally possible on fast machines that two frames will have the same time. This patch works around the problem by using a unique frame index, instead of the frame time, to delineate frames in the WebGL texture cache.

@elemoine
Copy link
Member

Looks good to me.

twpayne added a commit that referenced this pull request Apr 18, 2013
@twpayne twpayne merged commit 8735829 into openlayers:master Apr 18, 2013
@twpayne twpayne deleted the frame-index branch April 18, 2013 13:16
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

Successfully merging this pull request may close these issues.

None yet

2 participants