Exemple #1
0
        public static int GetAttribute(SDL.SDL_GLattr Attr)
        {
            int value;

            Util.ThrowIfResultIsError(SDL.SDL_GL_GetAttribute(Attr, out value));

            return(value);
        }
Exemple #2
0
 public static void SetAttribute(SDL.SDL_GLattr Attr, int Value)
 {
     Util.ThrowIfResultIsError(SDL.SDL_GL_SetAttribute(Attr, Value));
 }