mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-11-28 20:49:22 +01: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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|