diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test.cc b/src/test.cc index bd98ef3..a25f7a1 100644 --- a/src/test.cc +++ b/src/test.cc @@ -6,6 +6,7 @@ #include "glbase.h" #include "gltexture.h" #include "glfont.h" +#include "engine.h" CODE_BEGINS virtual int startup() throw (GeneralException) { @@ -21,7 +22,7 @@ virtual int startup() throw (GeneralException) { mogltk::texture * mytex = new mogltk::texture(pattern, true); delete pattern; - while (true) { + while (!mogltk::engine::quitrequested()) { mogltk::glbase::Enter2DMode(); mytex->Bind(); |