Throttle the program to run at max 60fps.
This commit is contained in:
@@ -151,6 +151,7 @@ static void specialKeyFunc(int key, int, int)
|
||||
static void idleFunc()
|
||||
{
|
||||
checkGLErrors();
|
||||
throttleIdleFunc();
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
|
||||
Reference in New Issue
Block a user