mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-12-23 12:26:35 +01:00
Fix texture modified on CPU from GPU thread after being modified on GPU not being updated (#4284)
This commit is contained in:
parent
08ab47c6c0
commit
070136b3f7
1 changed files with 2 additions and 2 deletions
|
@ -1431,10 +1431,10 @@ namespace Ryujinx.Graphics.Gpu.Image
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
handle.Sync(_context);
|
||||||
|
|
||||||
_context.Renderer.BackgroundContextAction(() =>
|
_context.Renderer.BackgroundContextAction(() =>
|
||||||
{
|
{
|
||||||
handle.Sync(_context);
|
|
||||||
|
|
||||||
Storage.SignalModifiedDirty();
|
Storage.SignalModifiedDirty();
|
||||||
|
|
||||||
lock (handle.Overlaps)
|
lock (handle.Overlaps)
|
||||||
|
|
Loading…
Reference in a new issue