Fix texture modified on CPU from GPU thread after being modified on GPU not being updated (#4284)

This commit is contained in:
gdkchan 2023-01-13 23:46:45 -03:00 committed by GitHub
parent 08ab47c6c0
commit 070136b3f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1431,10 +1431,10 @@ namespace Ryujinx.Graphics.Gpu.Image
return;
}
handle.Sync(_context);
_context.Renderer.BackgroundContextAction(() =>
{
handle.Sync(_context);
Storage.SignalModifiedDirty();
lock (handle.Overlaps)