diff options
| author | A-w-x <80461138+A-w-x@users.noreply.github.com> | 2021-04-18 02:27:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-18 02:27:19 +0200 |
| commit | 77199093978153d519d52264f9ef8b40b0592d0f (patch) | |
| tree | fe3f36fb9190bb4fa02ce83dc311d7068fc51393 /Ryujinx.Graphics.OpenGL/Framebuffer.cs | |
| parent | d23511c25c22fc47c54da28854034c5fbc143e33 (diff) | |
HwCapabilities: Divide Intel into IntelWindows and IntelUnix (#2219)
as suggested by gdkchan
Diffstat (limited to 'Ryujinx.Graphics.OpenGL/Framebuffer.cs')
| -rw-r--r-- | Ryujinx.Graphics.OpenGL/Framebuffer.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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++) { |
