From 29aae4383e1813f12a5872196e93c9930445837d Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 10 Mar 2003 01:48:19 +0000 Subject: Testing --- src/test.cc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/test.cc b/src/test.cc index 64ed569..d0fb202 100644 --- a/src/test.cc +++ b/src/test.cc @@ -28,12 +28,10 @@ virtual int startup() throw (GeneralException) { Input * pattern = new Input("pattern6.tex"); mogltk::texture * mytex = new mogltk::texture(pattern, true); delete pattern; - -// mogltk::engine::setappactive(true); while (!mogltk::engine::quitrequested()) { mogltk::glbase::Enter2DMode(); - + mytex->Bind(); glBegin(GL_TRIANGLE_STRIP); glColor3d(0, 0, 0); @@ -49,7 +47,7 @@ virtual int startup() throw (GeneralException) { glTexCoord2i(511, 511); glVertex2f(561, 561); glEnd(); - + mogltk::texture::Unbind(); glBegin(GL_TRIANGLE_STRIP); glColor3d(0, 0, 0); @@ -82,7 +80,7 @@ virtual int startup() throw (GeneralException) { "It works!!\n" "I can't believe it!\n" ); - + font.putcursor(550, 450); font.printf("FPS: %.2f", mogltk::engine::FPS()); -- cgit v1.2.3