aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.OpenGL/TextureCopy.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2020-01-06 19:27:50 -0300
committerThog <thog@protonmail.com>2020-01-09 02:13:00 +0100
commit29a825b43b8455159ea31ca570a1fe6e6195997f (patch)
treebdf4afe88d7e4b543215a4325e0a61ac4c65088e /Ryujinx.Graphics.OpenGL/TextureCopy.cs
parent912e43e9795309de675faefd628b209a27af8add (diff)
Address PR feedback
Removes a useless null check Aligns some values to improve readability
Diffstat (limited to 'Ryujinx.Graphics.OpenGL/TextureCopy.cs')
-rw-r--r--Ryujinx.Graphics.OpenGL/TextureCopy.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.OpenGL/TextureCopy.cs b/Ryujinx.Graphics.OpenGL/TextureCopy.cs
index 244ace8a..55666426 100644
--- a/Ryujinx.Graphics.OpenGL/TextureCopy.cs
+++ b/Ryujinx.Graphics.OpenGL/TextureCopy.cs
@@ -96,7 +96,7 @@ namespace Ryujinx.Graphics.OpenGL
private static bool IsDepthOnly(Format format)
{
- return format == Format.D16Unorm ||
+ return format == Format.D16Unorm ||
format == Format.D24X8Unorm ||
format == Format.D32Float;
}