gl.glBegin(GL_QUADS); // draw using quads
gl.glTexCoord2f(textureLeft, textureBottom);
gl.glVertex3f(0.0f, 0.0f, 0.0f);
gl.glTexCoord2f(textureRight, textureTop);
gl.glVertex3f(1.0f, 0.0f, 0.0f);
gl.glTexCoord2f(textureRight, textureTop);
gl.glVertex3f(1.0f, 1.0f, 0.0f);
gl.glTexCoord2f(textureLeft, textureTop);