Sfoglia il codice sorgente

Force TFB rebind after buffer modifications (#1392)

gdkchan 5 anni fa
parent
commit
986be200ba
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Ryujinx.Graphics.Gpu/Memory/BufferManager.cs

+ 1 - 1
Ryujinx.Graphics.Gpu/Memory/BufferManager.cs

@@ -535,7 +535,7 @@ namespace Ryujinx.Graphics.Gpu.Memory
                 }
             }
 
-            if (_transformFeedbackBuffersDirty)
+            if (_transformFeedbackBuffersDirty || _rebind)
             {
                 _transformFeedbackBuffersDirty = false;