Explorar o código

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

gdkchan %!s(int64=3) %!d(string=hai) anos
pai
achega
070136b3f7
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Ryujinx.Graphics.Gpu/Image/TextureGroup.cs

+ 2 - 2
Ryujinx.Graphics.Gpu/Image/TextureGroup.cs

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