mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-20 05:45:55 +01: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>
13 lines
209 B
C#
13 lines
209 B
C#
using Ryujinx.Graphics.OpenGL.Helper;
|
|
using System;
|
|
|
|
namespace Ryujinx.Graphics.OpenGL
|
|
{
|
|
public interface IOpenGLContext : IDisposable
|
|
{
|
|
void MakeCurrent();
|
|
|
|
bool HasContext();
|
|
}
|
|
}
|