Update GLScreen.cs

This commit is contained in:
KP122222 2018-04-25 09:07:32 -03:00 committed by GitHub
parent e4f59c8a52
commit 5114f78295
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,8 @@ namespace Ryujinx
{
private const int TouchScreenWidth = 1280;
private const int TouchScreenHeight = 720;
private const int TouchScreenWidth = 1920;
private const int TouchScreenHeight = 1080;
private const float TouchScreenRatioX = (float)TouchScreenWidth / TouchScreenHeight;
private const float TouchScreenRatioY = (float)TouchScreenHeight / TouchScreenWidth;
@ -21,7 +22,7 @@ namespace Ryujinx
private IGalRenderer Renderer;
public GLScreen(Switch Ns, IGalRenderer Renderer)
: base(1280, 720,
: base(1280, 720,1920,1080
new GraphicsMode(), "Ryujinx", 0,
DisplayDevice.Default, 3, 3,
GraphicsContextFlags.ForwardCompatible)
@ -192,4 +193,4 @@ namespace Ryujinx
Renderer.SetWindowSize(Width, Height);
}
}
}
}