aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.OpenGL
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2021-12-19 11:50:44 -0300
committerGitHub <noreply@github.com>2021-12-19 11:50:44 -0300
commite7c2dc8ec3329d50a52c36efeb31019850ce6015 (patch)
tree626476cc54fcf225261d6e26269a8c162284f3ec /Ryujinx.Graphics.OpenGL
parent521a07e6125d3a5d9781512639387a9be5f09107 (diff)
Fix for texture pool not being updated when it should + buffer texture related fixes (#2911)
Diffstat (limited to 'Ryujinx.Graphics.OpenGL')
-rw-r--r--Ryujinx.Graphics.OpenGL/Image/TextureBuffer.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.OpenGL/Image/TextureBuffer.cs b/Ryujinx.Graphics.OpenGL/Image/TextureBuffer.cs
index 8d407ccb..899deedf 100644
--- a/Ryujinx.Graphics.OpenGL/Image/TextureBuffer.cs
+++ b/Ryujinx.Graphics.OpenGL/Image/TextureBuffer.cs
@@ -56,6 +56,7 @@ namespace Ryujinx.Graphics.OpenGL.Image
public void SetStorage(BufferRange buffer)
{
if (_buffer != BufferHandle.Null &&
+ _buffer == buffer.Handle &&
buffer.Offset == _bufferOffset &&
buffer.Size == _bufferSize &&
_renderer.BufferCount == _bufferCount)