Try setting GL attributes in SDL2 stage