summaryrefslogtreecommitdiff
path: root/gltest.cpp
diff options
context:
space:
mode:
authorpixel <pixel>2002-11-17 18:11:58 +0000
committerpixel <pixel>2002-11-17 18:11:58 +0000
commit718ca1d8dda36c276bd5ca5b6f0a833f61f9e5d5 (patch)
treea165c72b5bba9f9e375c488bc454d3f12655ea31 /gltest.cpp
parentca6d6b9117fb3f5667b4167c22ec058cdc55d1e4 (diff)
Daily.
Diffstat (limited to 'gltest.cpp')
-rw-r--r--gltest.cpp13
1 files changed, 9 insertions, 4 deletions
diff --git a/gltest.cpp b/gltest.cpp
index 9991ba9..7965fa7 100644
--- a/gltest.cpp
+++ b/gltest.cpp
@@ -52,14 +52,19 @@ virtual int startup() throw (GeneralException) {
glVertex2f(561, 561);
glEnd();
+ mogltk::texture::Unbind();
glBegin(GL_TRIANGLE_STRIP);
- glTexCoord2i(0, 0);
+// glTexCoord2i(0, 0);
+ glColor3d(0, 0, 0);
glVertex2i(400, 100);
- glTexCoord2i(256, 0);
+// glTexCoord2i(256, 0);
+ glColor3d(1, 0, 0);
glVertex2i(450, 100);
- glTexCoord2i(0, 256);
+// glTexCoord2i(0, 256);
+ glColor3d(0, 1, 0);
glVertex2i(400, 150);
- glTexCoord2i(256, 256);
+// glTexCoord2i(256, 256);
+ glColor3d(0, 0, 1);
glVertex2i(450, 150);
glEnd();
mogltk::glbase::Leave2DMode();