Replacing deprecated GL_QUADS.