mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-25 14:39:15 +00:00
21 lines
481 B
C#
21 lines
481 B
C#
using SPB.Graphics;
|
|
using System;
|
|
|
|
namespace Ryujinx.Ui
|
|
{
|
|
public class OpenToolkitBindingsContext : OpenTK.IBindingsContext
|
|
{
|
|
private readonly IBindingsContext _bindingContext;
|
|
|
|
public OpenToolkitBindingsContext(IBindingsContext bindingsContext)
|
|
{
|
|
_bindingContext = bindingsContext;
|
|
}
|
|
|
|
public IntPtr GetProcAddress(string procName)
|
|
{
|
|
return _bindingContext.GetProcAddress(procName);
|
|
}
|
|
}
|
|
}
|