From 77199093978153d519d52264f9ef8b40b0592d0f Mon Sep 17 00:00:00 2001 From: A-w-x <80461138+A-w-x@users.noreply.github.com> Date: Sun, 18 Apr 2021 02:27:19 +0200 Subject: HwCapabilities: Divide Intel into IntelWindows and IntelUnix (#2219) as suggested by gdkchan --- Ryujinx.Graphics.OpenGL/Framebuffer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Ryujinx.Graphics.OpenGL/Framebuffer.cs') diff --git a/Ryujinx.Graphics.OpenGL/Framebuffer.cs b/Ryujinx.Graphics.OpenGL/Framebuffer.cs index 66bf892b..e6b70376 100644 --- a/Ryujinx.Graphics.OpenGL/Framebuffer.cs +++ b/Ryujinx.Graphics.OpenGL/Framebuffer.cs @@ -41,7 +41,7 @@ namespace Ryujinx.Graphics.OpenGL FramebufferAttachment attachment = FramebufferAttachment.ColorAttachment0 + index; if (HwCapabilities.Vendor == HwCapabilities.GpuVendor.Amd || - HwCapabilities.Vendor == HwCapabilities.GpuVendor.Intel) + HwCapabilities.Vendor == HwCapabilities.GpuVendor.IntelWindows) { GL.FramebufferTexture(FramebufferTarget.Framebuffer, attachment, color?.GetIncompatibleFormatViewHandle() ?? 0, 0); } @@ -95,7 +95,7 @@ namespace Ryujinx.Graphics.OpenGL public void SignalModified() { if (HwCapabilities.Vendor == HwCapabilities.GpuVendor.Amd || - HwCapabilities.Vendor == HwCapabilities.GpuVendor.Intel) + HwCapabilities.Vendor == HwCapabilities.GpuVendor.IntelWindows) { for (int i = 0; i < 8; i++) { -- cgit v1.2.3