mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-12 10:11:06 +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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|