Enable stencil texturing (fixes #866) (#910)

This commit is contained in:
gdkchan
2020-01-31 14:42:03 +11:00
committed by GitHub
parent 793f38b9aa
commit 0202f150d4
2 changed files with 3 additions and 5 deletions
+1 -3
View File
@@ -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)