mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-01-11 20:10:30 +00:00
respect the new return value of StartRenderDocCapture for logging
This commit is contained in:
parent
a89bca578b
commit
074d14477a
1 changed files with 5 additions and 2 deletions
|
|
@ -2506,8 +2506,11 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||
{
|
||||
if (!RenderDoc.IsFrameCapturing)
|
||||
{
|
||||
viewModel.AppHost.RendererHost.EmbeddedWindow.StartRenderDocCapture(viewModel.AppHost.Device);
|
||||
Logger.Info?.Print(LogClass.Application, "Starting RenderDoc capture.");
|
||||
if (viewModel.AppHost.RendererHost
|
||||
.EmbeddedWindow.StartRenderDocCapture(viewModel.AppHost.Device))
|
||||
{
|
||||
Logger.Info?.Print(LogClass.Application, "Starting RenderDoc capture.");
|
||||
}
|
||||
}
|
||||
|
||||
viewModel.RenderDocIsCapturing = RenderDoc.IsFrameCapturing;
|
||||
|
|
|
|||
Loading…
Reference in a new issue