mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-05 23:43:04 +00:00
Style
This commit is contained in:
parent
bab7457b99
commit
4ec9793602
3 changed files with 5 additions and 9 deletions
|
@ -20,7 +20,7 @@ namespace Ryujinx.Graphics.OpenGL
|
|||
|
||||
private int _colorsCount;
|
||||
private bool _dualSourceBlend;
|
||||
private GL _api;
|
||||
private readonly GL _api;
|
||||
|
||||
public Framebuffer(GL api)
|
||||
{
|
||||
|
|
|
@ -9,13 +9,11 @@ namespace Ryujinx.UI
|
|||
{
|
||||
class SPBOpenGLContext : IOpenGLContext
|
||||
{
|
||||
public readonly GL Api;
|
||||
private readonly OpenGLContextBase _context;
|
||||
private readonly NativeWindowBase _window;
|
||||
|
||||
private SPBOpenGLContext(GL api, OpenGLContextBase context, NativeWindowBase window)
|
||||
private SPBOpenGLContext(OpenGLContextBase context, NativeWindowBase window)
|
||||
{
|
||||
Api = api;
|
||||
_context = context;
|
||||
_window = window;
|
||||
}
|
||||
|
@ -45,7 +43,7 @@ namespace Ryujinx.UI
|
|||
|
||||
context.MakeCurrent(null);
|
||||
|
||||
return new SPBOpenGLContext(api, context, window);
|
||||
return new SPBOpenGLContext(context, window);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,13 +9,11 @@ namespace Ryujinx.Ava.UI.Renderer
|
|||
{
|
||||
class SPBOpenGLContext : IOpenGLContext
|
||||
{
|
||||
private readonly GL _api;
|
||||
private readonly OpenGLContextBase _context;
|
||||
private readonly NativeWindowBase _window;
|
||||
|
||||
private SPBOpenGLContext(GL api, OpenGLContextBase context, NativeWindowBase window)
|
||||
private SPBOpenGLContext(OpenGLContextBase context, NativeWindowBase window)
|
||||
{
|
||||
_api = api;
|
||||
_context = context;
|
||||
_window = window;
|
||||
}
|
||||
|
@ -45,7 +43,7 @@ namespace Ryujinx.Ava.UI.Renderer
|
|||
|
||||
context.MakeCurrent(null);
|
||||
|
||||
return new SPBOpenGLContext(api, context, window);
|
||||
return new SPBOpenGLContext(context, window);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue