summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpixel <pixel>2003-03-10 01:48:19 +0000
committerpixel <pixel>2003-03-10 01:48:19 +0000
commit29aae4383e1813f12a5872196e93c9930445837d (patch)
tree4208ec200a70e411a647ab70cfb17c6a3becaf34 /src
parentca8754a3a2296ff2842c781d1936dd47cecb3c9f (diff)
Testing
Diffstat (limited to 'src')
-rw-r--r--src/test.cc8
1 files changed, 3 insertions, 5 deletions
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());