Made the game more compatible with OpenGL 2