Submit command buffer before Texture GetData. (UE4 fix)

This commit is contained in:
riperiperi 2021-11-14 14:37:11 +00:00
parent fa24c41d32
commit e9222a426a

View file

@ -636,6 +636,8 @@ namespace Ryujinx.Graphics.Vulkan
{
if (_gd.CommandBufferPool.OwnedByCurrentThread)
{
_gd.FlushAllCommands();
return GetData(_gd.CommandBufferPool);
}
else if (_gd.BackgroundQueue.Handle != 0)