AvaloniaWglContext.cs 405 B

12345678910111213141516
  1. using SPB.Graphics;
  2. using System;
  3. using System.Runtime.Versioning;
  4. namespace Ryujinx.Ava.Ui.Controls
  5. {
  6. [SupportedOSPlatform("windows")]
  7. internal class AvaloniaWglContext : SPB.Platform.WGL.WGLOpenGLContext
  8. {
  9. public AvaloniaWglContext(IntPtr handle)
  10. : base(FramebufferFormat.Default, 0, 0, 0, false, null)
  11. {
  12. ContextHandle = handle;
  13. }
  14. }
  15. }