diff options
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(); |