Enable AA

This commit is contained in:
Andy Adshead 2019-02-09 21:05:03 +00:00
commit fcc98046e4

View file

@ -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)
{ {