diff options
author | pixel <pixel> | 2002-12-26 02:59:04 +0000 |
---|---|---|
committer | pixel <pixel> | 2002-12-26 02:59:04 +0000 |
commit | f953fad0ce8c3358659fb63e99e0798bc20c392e (patch) | |
tree | 4fba4a0db34fdc52f4f53b7619fedf866ca7550f /src | |
parent | 097d47e972be08ed711177e241ecbb9b3f053ecc (diff) |
Humf
Diffstat (limited to 'src')
-rw-r--r-- | src/test.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/test.cc b/src/test.cc index bb6e2b9..d4dacc9 100644 --- a/src/test.cc +++ b/src/test.cc @@ -11,11 +11,15 @@ CODE_BEGINS virtual int startup() throw (GeneralException) { verbosity = M_INFO; mogltk::glbase::setup(); - mogltk::font font(&Input("font-2.bin")); + Input * fonte = new Input("font-2.bin"); + mogltk::font font(fonte); + delete fonte; verbosity = M_INFO; - mogltk::texture * mytex = new mogltk::texture(&Input("pattern6.bmp"), true); + Input * pattern = new Input("pattern6.bmp"); + mogltk::texture * mytex = new mogltk::texture(pattern, true); + delete pattern; mogltk::glbase::Enter2DMode(); |