mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-03 23:37:26 +00:00
17 lines
403 B
C#
17 lines
403 B
C#
|
using SPB.Graphics;
|
|||
|
using System;
|
|||
|
using System.Runtime.Versioning;
|
|||
|
|
|||
|
namespace Ryujinx.Ava.Ui.Controls
|
|||
|
{
|
|||
|
[SupportedOSPlatform("windows")]
|
|||
|
public class AvaloniaWglContext : SPB.Platform.WGL.WGLOpenGLContext
|
|||
|
{
|
|||
|
public AvaloniaWglContext(IntPtr handle)
|
|||
|
: base(FramebufferFormat.Default, 0, 0, 0, false, null)
|
|||
|
{
|
|||
|
ContextHandle = handle;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|