gl.glVertex2f(0, 0);
gl.glTexCoord2f(coords.right(), coords.top());
gl.glVertex2f(image.getWidth(), 0);
gl.glTexCoord2f(coords.left(), coords.bottom());
gl.glVertex2f(0, image.getHeight());
gl.glTexCoord2f(coords.right(), coords.bottom());
gl.glVertex2f(image.getWidth(), image.getHeight());
gl.glEnd();
gl.glGetIntegerv(GL2.GL_PACK_ROW_LENGTH, rowLength, 0); // save row length