aboutsummaryrefslogblamecommitdiff
path: root/Ryujinx/Ui/OpenToolkitBindingsContext.cs
blob: ec4111fa3bfd68fe04e49d5eba79248f4a977b58 (plain) (tree)


















                                                                           
using SPB.Graphics;
using System;

namespace Ryujinx.Ui
{
    public class OpenToolkitBindingsContext : OpenTK.IBindingsContext
    {
        private IBindingsContext _bindingContext;

        public OpenToolkitBindingsContext(IBindingsContext bindingsContext)
        {
            _bindingContext = bindingsContext;
        }

        public IntPtr GetProcAddress(string procName)
        {
            return _bindingContext.GetProcAddress(procName);
        }
    }
}