aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.OpenGL/TextureView.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2020-01-31 00:42:03 -0300
committerGitHub <noreply@github.com>2020-01-31 14:42:03 +1100
commit0202f150d4d5974d79029500317de2d1b102da8c (patch)
tree1c08df60583091149fbbed538028224ade97a442 /Ryujinx.Graphics.OpenGL/TextureView.cs
parent793f38b9aadd3fd33240eadf41ed96eb8ed14611 (diff)
Enable stencil texturing (fixes #866) (#910)
Diffstat (limited to 'Ryujinx.Graphics.OpenGL/TextureView.cs')
-rw-r--r--Ryujinx.Graphics.OpenGL/TextureView.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Ryujinx.Graphics.OpenGL/TextureView.cs b/Ryujinx.Graphics.OpenGL/TextureView.cs
index 2efaf7c0..8fa78e5b 100644
--- a/Ryujinx.Graphics.OpenGL/TextureView.cs
+++ b/Ryujinx.Graphics.OpenGL/TextureView.cs
@@ -100,9 +100,7 @@ namespace Ryujinx.Graphics.OpenGL
}
GL.TexParameter(target, TextureParameterName.TextureMaxLevel, maxLevel);
-
- // TODO: This requires ARB_stencil_texturing, we should uncomment and test this.
- // GL.TexParameter(target, TextureParameterName.DepthStencilTextureMode, (int)_info.DepthStencilMode.Convert());
+ GL.TexParameter(target, TextureParameterName.DepthStencilTextureMode, (int)_info.DepthStencilMode.Convert());
}
public ITexture CreateView(TextureCreateInfo info, int firstLayer, int firstLevel)