aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx/Ui/OpenToolkitBindingsContext.cs
blob: ec4111fa3bfd68fe04e49d5eba79248f4a977b58 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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);
        }
    }
}