aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL
diff options
context:
space:
mode:
authorriperiperi <rhy3756547@hotmail.com>2020-04-30 02:47:24 +0100
committerGitHub <noreply@github.com>2020-04-30 11:47:24 +1000
commitc2ac45adc5e735f752c128990e022252a6e0a426 (patch)
treee73af63d2f3be0ee0b94547c0bf70230c9af17e2 /Ryujinx.Graphics.GAL
parentec620e2de0e65eac10bff64f0774abcd6857c743 (diff)
Fix depth clamp enable bit, unit scale for polygon offset. (#1178)
Verified with deko3d and opengl driver code.
Diffstat (limited to 'Ryujinx.Graphics.GAL')
-rw-r--r--Ryujinx.Graphics.GAL/IPipeline.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.GAL/IPipeline.cs b/Ryujinx.Graphics.GAL/IPipeline.cs
index 1e685923..51b8d91a 100644
--- a/Ryujinx.Graphics.GAL/IPipeline.cs
+++ b/Ryujinx.Graphics.GAL/IPipeline.cs
@@ -27,7 +27,7 @@ namespace Ryujinx.Graphics.GAL
void SetBlendState(int index, BlendDescriptor blend);
void SetDepthBias(PolygonModeMask enables, float factor, float units, float clamp);
- void SetDepthClamp(bool clampNear, bool clampFar);
+ void SetDepthClamp(bool clamp);
void SetDepthMode(DepthMode mode);
void SetDepthTest(DepthTestDescriptor depthTest);