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

GL003 - fix timeout implementation of WaitForFences #10

Open
tgsstdio opened this issue Feb 15, 2017 · 0 comments
Open

GL003 - fix timeout implementation of WaitForFences #10

tgsstdio opened this issue Feb 15, 2017 · 0 comments
Assignees
Labels

Comments

@tgsstdio
Copy link
Owner

tgsstdio commented Feb 15, 2017

Show line

Magnesium.OpenGL
Should be absolute time not incremental

elapsedInNanoSecs = (ulong)((timer.ElapsedTicks * 1000000000) / Stopwatch.Frequency);

if (noOfFencesCompleted >= noOfFences)
{
   return Result.SUCCESS;
}

remainingTime = timeout - elapsedInNanoSecs;
@tgsstdio tgsstdio added the bug label Feb 15, 2017
@tgsstdio tgsstdio self-assigned this Feb 15, 2017
@tgsstdio tgsstdio changed the title GL002 - fix timeout implementation of WaitForFences GL003 - fix timeout implementation of WaitForFences Oct 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant