Fix for texture pool not being updated when it should + buffer texture related fixes (#2911)

This commit is contained in:
gdkchan 2021-12-19 11:50:44 -03:00 committed by GitHub
parent ec2a9be763
commit 00beeeac59
4 changed files with 66 additions and 37 deletions

View file

@ -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)