mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-02-22 09:03:36 +00:00
Submit command buffer before Texture GetData. (UE4 fix)
This commit is contained in:
parent
fa24c41d32
commit
e9222a426a
1 changed files with 2 additions and 0 deletions
|
@ -636,6 +636,8 @@ namespace Ryujinx.Graphics.Vulkan
|
||||||
{
|
{
|
||||||
if (_gd.CommandBufferPool.OwnedByCurrentThread)
|
if (_gd.CommandBufferPool.OwnedByCurrentThread)
|
||||||
{
|
{
|
||||||
|
_gd.FlushAllCommands();
|
||||||
|
|
||||||
return GetData(_gd.CommandBufferPool);
|
return GetData(_gd.CommandBufferPool);
|
||||||
}
|
}
|
||||||
else if (_gd.BackgroundQueue.Handle != 0)
|
else if (_gd.BackgroundQueue.Handle != 0)
|
||||||
|
|
Loading…
Reference in a new issue