GLPuzzle kept on solving, keeping the CPU busy and my legs warm (Laptop) (STR #1527)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5620 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
f2ec919f29
commit
bb6f36cffe
@ -1310,7 +1310,7 @@ animate(void)
|
||||
glutSetWindowTitle("glpuzzle");
|
||||
}
|
||||
}
|
||||
if (!solving && !spinning && !visible) {
|
||||
if ((!solving && !spinning) || !visible) {
|
||||
glutIdleFunc(NULL);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user