summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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());