Fixed OpenGL compatibility issue on non-AMD video cards.