first pass at removing immediate mode GL_QUADS