aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Ava/UI/Helpers/AvaloniaGlxContext.cs
blob: 6b696ba7396a582cc8496105fc3acbc6dba1efc8 (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.Helpers
{
    [SupportedOSPlatform("linux")]
    internal class AvaloniaGlxContext : SPB.Platform.GLX.GLXOpenGLContext
    {
        public AvaloniaGlxContext(IntPtr handle)
            : base(FramebufferFormat.Default, 0, 0, 0, false, null)
        {
            ContextHandle = handle;
        }
    }
}