public static int GLGetAttributeContext(out SDL2OpenGLContextFlags flags) { int tmp = -1; int ret = GLGetAttribute(SDL2OpenGLAttributes.ContextFlags, out tmp); flags = (SDL2OpenGLContextFlags)tmp; return(ret); }
public static int GLGetAttributeContext(out SDL2OpenGLContextFlags flags) { int tmp = -1; int ret = GLGetAttribute(SDL2OpenGLAttributes.ContextFlags, out tmp); flags = (SDL2OpenGLContextFlags)tmp; return ret; }
public static int GLSetAttributeContext(SDL2OpenGLContextFlags flags) { return GLSetAttribute(SDL2OpenGLAttributes.ContextFlags, (int)flags); }
public static int GLSetAttributeContext(SDL2OpenGLContextFlags flags) { return(GLSetAttribute(SDL2OpenGLAttributes.ContextFlags, (int)flags)); }