SDL2: changed way creating GL core context