mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-21 00:22:01 +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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|