Explorar o código

Vulkan: Properly reset barrier batch when splitting due to mismatching flags (#6345)

Forgot to set the end variable here. Should stop it from crashing when this path is taken.
riperiperi %!s(int64=2) %!d(string=hai) anos
pai
achega
ba91f5d401
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/Ryujinx.Graphics.Vulkan/BarrierBatch.cs

+ 1 - 0
src/Ryujinx.Graphics.Vulkan/BarrierBatch.cs

@@ -144,6 +144,7 @@ namespace Ryujinx.Graphics.Vulkan
                                     i -= deleteCount;
 
                                     firstMatch = -1;
+                                    end = list.Count;
                                 }
                             }
                         }