internal static void aglSetDrawable(AGLContext ctx, AGLDrawable draw)
        {
            var retval = _aglSetDrawable(ctx, draw);

            if (retval == 0)
            {
                var err = GetError();
                throw new Exception(ErrorString(err));
            }
        }
Пример #2
0
        internal static void aglSetDrawable(AGLContext ctx, AGLDrawable draw)
        {
            byte retval = _aglSetDrawable(ctx, draw);

            if (retval == 0)
            {
                AglError err = GetError();
                throw new MacOSException(err, ErrorString(err));
            }
        }
 private static extern byte _aglSetDrawable(AGLContext ctx, AGLDrawable draw);
Пример #4
0
        internal static void aglSetDrawable(AGLContext ctx, AGLDrawable draw)
        {
            byte retval = _aglSetDrawable(ctx, draw);

            if (retval == 0)
            {
                AglError err = GetError();

                throw new MacOSException(err, ErrorString(err));
            }
        }
Пример #5
0
 static extern byte _aglSetDrawable(AGLContext ctx, AGLDrawable draw);