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