internal static void aglSetDrawable(AGLContext ctx, AGLDrawable draw) { var retval = _aglSetDrawable(ctx, draw); if (retval == 0) { var err = GetError(); throw new Exception(ErrorString(err)); } }
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);
static extern byte _aglSetDrawable(AGLContext ctx, AGLDrawable draw);