aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/GpuResourceManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics/GpuResourceManager.cs')
-rw-r--r--Ryujinx.Graphics/GpuResourceManager.cs7
1 files changed, 1 insertions, 6 deletions
diff --git a/Ryujinx.Graphics/GpuResourceManager.cs b/Ryujinx.Graphics/GpuResourceManager.cs
index c3d697c5..d4612951 100644
--- a/Ryujinx.Graphics/GpuResourceManager.cs
+++ b/Ryujinx.Graphics/GpuResourceManager.cs
@@ -63,15 +63,10 @@ namespace Ryujinx.Graphics
Gpu.Renderer.RenderTarget.BindZeta(Position);
}
- public void SendTexture(NvGpuVmm Vmm, long Position, GalImage NewImage, int TexIndex = -1)
+ public void SendTexture(NvGpuVmm Vmm, long Position, GalImage NewImage)
{
PrepareSendTexture(Vmm, Position, NewImage);
- if (TexIndex >= 0)
- {
- Gpu.Renderer.Texture.Bind(Position, TexIndex, NewImage);
- }
-
ImageTypes[Position] = ImageType.Texture;
}