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 Matt Heins
parent 1e8c3f1527
commit d363f34912

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)