mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-23 15:05:47 +00:00
bd6937ae5c
This makes IOpenGLContext.HasContext not static and be implementable. By doing this, we can support more than WGL and WGL. This also allows the SDL2 headless version to run under Wayland. Signed-off-by: Mary <mary@mary.zone>
12 lines
209 B
C#
12 lines
209 B
C#
using Ryujinx.Graphics.OpenGL.Helper;
|
|
using System;
|
|
|
|
namespace Ryujinx.Graphics.OpenGL
|
|
{
|
|
public interface IOpenGLContext : IDisposable
|
|
{
|
|
void MakeCurrent();
|
|
|
|
bool HasContext();
|
|
}
|
|
}
|