mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 21:10:42 +00:00
Change renderdoccmd to be a console program on windows.
* This means it outputs natively/properly to stdout/stderr and its output can be redirected with pipes. * It does mean we need to be very careful whenever it's run internally to not pop up a command window, which happens by default.
This commit is contained in:
@@ -431,11 +431,11 @@ void CaptureDialog::vulkanLayerWarn_mouseClick()
|
||||
}
|
||||
|
||||
RunProcessAsAdmin(cmd, QStringList() << lit("vulkanregister") << lit("--system"), this,
|
||||
[this]() { ui->vulkanLayerWarn->setVisible(false); });
|
||||
true, [this]() { ui->vulkanLayerWarn->setVisible(false); });
|
||||
#else
|
||||
RunProcessAsAdmin(qApp->applicationFilePath(),
|
||||
QStringList() << lit("--install_vulkan_layer") << lit("root"), this,
|
||||
[this]() { ui->vulkanLayerWarn->setVisible(false); });
|
||||
false, [this]() { ui->vulkanLayerWarn->setVisible(false); });
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user