Example #1
0
        /// <inheritdoc />
        public nint GetProcAddress(string proc, int?slot = default)
        {
            var ret = _glfw.GetProcAddress(proc);

            Glfw.ThrowExceptions();
            if (ret == 0)
            {
                Throw(proc);
            }

            return(ret);
Example #2
0
 /// <inheritdoc />
 public IntPtr GetProcAddress(string proc, int?slot = default) => _glfw.GetProcAddress(proc);
Example #3
0
 /// <inheritdoc />
 public IntPtr GetProcAddress(string proc) => _glfw.GetProcAddress(proc);