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

This commit is contained in:
gdkchan
2020-01-31 00:42:03 -03:00
committed by GitHub
parent 793f38b9aa
commit 0202f150d4
2 changed files with 3 additions and 5 deletions

View File

@ -193,9 +193,9 @@ namespace Ryujinx.Graphics.OpenGL
switch (mode)
{
case DepthStencilMode.Depth:
return All.Depth;
return All.DepthComponent;
case DepthStencilMode.Stencil:
return All.Stencil;
return All.StencilIndex;
}
Logger.PrintDebug(LogClass.Gpu, $"Invalid {nameof(DepthStencilMode)} enum value: {mode}.");