A1 converted to modern opengl.