aboutsummaryrefslogblamecommitdiff
path: root/Ryujinx.Ava/UI/Helpers/AvaloniaWglContext.cs
blob: b63a973a11f9c0c10766cac0e9011d4163669c20 (plain) (tree)
1
2
3
4
5
6
7
8


                                
                                
                                    
                                                                         






                                                                   
using SPB.Graphics;
using System;
using System.Runtime.Versioning;

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