diff options
author | pixel <pixel> | 2002-11-17 18:11:58 +0000 |
---|---|---|
committer | pixel <pixel> | 2002-11-17 18:11:58 +0000 |
commit | 718ca1d8dda36c276bd5ca5b6f0a833f61f9e5d5 (patch) | |
tree | a165c72b5bba9f9e375c488bc454d3f12655ea31 /gltest.cpp | |
parent | ca6d6b9117fb3f5667b4167c22ec058cdc55d1e4 (diff) |
Daily.
Diffstat (limited to 'gltest.cpp')
-rw-r--r-- | gltest.cpp | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -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(); |