Skip to content

Commit

Permalink
better task thread wait time
Browse files Browse the repository at this point in the history
more sensible 60FPS nuiAnimation default
  • Loading branch information
meeloo committed Feb 3, 2014
1 parent 4482c92 commit 9457781
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/nuiTaskThread.h
Expand Up @@ -43,7 +43,7 @@ class nuiTaskThread : public nglThread
NGL_ASSERT(mpQueue != NULL);
while (!mDone)
{
nuiTask* pTask = mpQueue->Get(1);
nuiTask* pTask = mpQueue->Get(10000);
if (pTask)
{
pTask->Run();
Expand Down
2 changes: 1 addition & 1 deletion src/Base/nuiAnimation.cpp
Expand Up @@ -9,7 +9,7 @@

nuiTimer* nuiAnimation::mpTimer = NULL;
int32 nuiAnimation::mAnimCounter = 0;
double nuiAnimation::mFrameRate = 120; // 30 FPS by default
double nuiAnimation::mFrameRate = 60; // 30 FPS by default

// Standard easing:
double nuiEasingIdentity(double val)
Expand Down

0 comments on commit 9457781

Please sign in to comment.