diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2007-01-18 20:26:53 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2007-01-18 20:26:53 +0000 |
| commit | bb6f36cffe66509ebcc6da6d1a8d98cf48a0b749 (patch) | |
| tree | 1a8df25df61d1f5a651e160c54d428eb2df459a9 /test | |
| parent | f2ec919f29c9ba43fd21fbe7ee6f645b7ed288f4 (diff) | |
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
Diffstat (limited to 'test')
| -rw-r--r-- | test/glpuzzle.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/glpuzzle.cxx b/test/glpuzzle.cxx index fd4d56344..6df075749 100644 --- a/test/glpuzzle.cxx +++ b/test/glpuzzle.cxx @@ -1310,7 +1310,7 @@ animate(void) glutSetWindowTitle("glpuzzle"); } } - if (!solving && !spinning && !visible) { + if ((!solving && !spinning) || !visible) { glutIdleFunc(NULL); } } |
