diff options
author | pixel <pixel> | 2003-03-13 01:54:04 +0000 |
---|---|---|
committer | pixel <pixel> | 2003-03-13 01:54:04 +0000 |
commit | c9437871835f2472e40a9051704b4e20f48ed067 (patch) | |
tree | 51ad8e86d22918d103ab93ccd1deb7ed812b7f15 /src | |
parent | 97ec70da939ace8fa7a076fa31f0d1548e489ba1 (diff) |
Font Bug
Diffstat (limited to 'src')
-rw-r--r-- | src/test.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test.cc b/src/test.cc index d0fb202..74b4b9b 100644 --- a/src/test.cc +++ b/src/test.cc @@ -12,9 +12,10 @@ CODE_BEGINS virtual int startup() throw (GeneralException) { + verbosity = M_INFO; mogltk::glbase::setup(); new Archive("datas.paq"); - Input * fonte = new Input("font-2.bin"); + Input * fonte = new Input("font.bin"); mogltk::font font(fonte); delete fonte; Input * cursor = new Input("cursor.rgba"); @@ -84,7 +85,7 @@ virtual int startup() throw (GeneralException) { font.putcursor(550, 450); font.printf("FPS: %.2f", mogltk::engine::FPS()); - s->draw(mogltk::engine::mouseX(), mogltk::engine::mouseY()); + s->draw(mogltk::engine::mouseX() - 9, mogltk::engine::mouseY() - 7); mogltk::glbase::Leave2DMode(); mogltk::glbase::Flip(); |