forked from Mirror/Ryujinx
20 lines
475 B
C#
20 lines
475 B
C#
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);
|
|
}
|
|
}
|
|
}
|