aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Ava/Ui/Controls/AvaloniaWglContext.cs
blob: 01e9b92073ae168d62f3b6264c5272d6e0487855 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using SPB.Graphics;
using System;
using System.Runtime.Versioning;

namespace Ryujinx.Ava.Ui.Controls
{
    [SupportedOSPlatform("windows")]
    internal class AvaloniaWglContext : SPB.Platform.WGL.WGLOpenGLContext
    {
        public AvaloniaWglContext(IntPtr handle)
            : base(FramebufferFormat.Default, 0, 0, 0, false, null)
        {
            ContextHandle = handle;
        }
    }
}