SDL2: make OpenGL forward compatible