Enable AA
This commit is contained in:
parent
d7d5f41d5f
commit
fcc98046e4
1 changed files with 5 additions and 3 deletions
|
@ -4,6 +4,7 @@ using System.ComponentModel;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using OpenTK;
|
using OpenTK;
|
||||||
|
using OpenTK.Graphics;
|
||||||
using OpenTK.Graphics.OpenGL;
|
using OpenTK.Graphics.OpenGL;
|
||||||
using OpenTK.Input;
|
using OpenTK.Input;
|
||||||
using Ryujinx.Common;
|
using Ryujinx.Common;
|
||||||
|
@ -93,11 +94,12 @@ namespace Ryujinx.Profiler.UI
|
||||||
|
|
||||||
|
|
||||||
public ProfileWindow()
|
public ProfileWindow()
|
||||||
: base(1280, 720)
|
// Graphigs mode enables 2xAA
|
||||||
|
: base(1280, 720, new GraphicsMode(new ColorFormat(8, 8, 8, 8), 1, 1, 2))
|
||||||
{
|
{
|
||||||
Title = "Profiler";
|
Title = "Profiler";
|
||||||
Location = new Point(DisplayDevice.Default.Width - 1280,
|
Location = new Point(DisplayDevice.Default.Width - 1280,
|
||||||
(DisplayDevice.Default.Height - 720) - 50);
|
(DisplayDevice.Default.Height - 720) - 50);
|
||||||
|
|
||||||
if (Profile.UpdateRate <= 0)
|
if (Profile.UpdateRate <= 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue