support for SDL GL context attribute settings