public static int GLGetAttributeProfile(out SDL2OpenGLProfile flags)
        {
            int tmp = -1;
            int ret = GLGetAttribute(SDL2OpenGLAttributes.ContextProfileMask, out tmp);

            flags = (SDL2OpenGLProfile)tmp;
            return(ret);
        }
 public static int GLGetAttributeProfile(out SDL2OpenGLProfile flags)
 {
     int tmp = -1;
     int ret = GLGetAttribute(SDL2OpenGLAttributes.ContextProfileMask, out tmp);
     flags = (SDL2OpenGLProfile)tmp;
     return ret;
 }
 public static int GLSetAttributeProfile(SDL2OpenGLProfile flags)
 {
     return GLSetAttribute(SDL2OpenGLAttributes.ContextProfileMask, (int)flags);
 }
 public static int GLSetAttributeProfile(SDL2OpenGLProfile flags)
 {
     return(GLSetAttribute(SDL2OpenGLAttributes.ContextProfileMask, (int)flags));
 }