17 lines
402 B
C#
17 lines
402 B
C#
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;
|
|
}
|
|
}
|
|
}
|