glBindTexture(GL_TEXTURE_2D, 1); glEnable(GL_TEXTURE_2D); glBegin(GL_TRIANGLES); glTexCoord2f(0, 0); glVertex3f(0, 0, 0); glTexCoord2f(1, 0); glVertex3f(1, 0, 0); glTexCoord2f(0, 1); glVertex3f(0, 1, 0); glEnd();