diff options
author | pixel <pixel> | 2003-01-22 01:11:50 +0000 |
---|---|---|
committer | pixel <pixel> | 2003-01-22 01:11:50 +0000 |
commit | ac4600dbd1260c0703c59d46512656ad3823f848 (patch) | |
tree | f7703e53587ce79dd6d287c20e971c3db97239fe /src | |
parent | 38a65f1d57c4dc65dcce9056725ce26e0474eabc (diff) |
commit of the day
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(); |