mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-25 16:20:36 +00:00
Fix other instances of -Wunused-lambda-capture
This commit is contained in:
2 files changed
+3
-1
No files matched your search
@@ -470,6 +470,8 @@ void CaptureDialog::vulkanLayerWarn_mouseClick()
|
||||
bool needReg = RENDERDOC_NeedVulkanLayerRegistration(NULL);
|
||||
ui->vulkanLayerWarn->setVisible(needReg);
|
||||
|
||||
(void)admin;
|
||||
|
||||
#if !defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
|
||||
// can't alert the user on linux because the command might still be running - there's
|
||||
// seemingly no portable way to wait for the command to finish.
|
||||
|
||||
@@ -2873,7 +2873,7 @@ void MainWindow::on_action_Open_RGP_Profile_triggered()
|
||||
return;
|
||||
|
||||
QString path;
|
||||
m_Ctx.Replay().BlockAccessInvoke([this, &path](ICaptureAccess *access) {
|
||||
m_Ctx.Replay().BlockAccessInvoke([&path](ICaptureAccess *access) {
|
||||
int idx = access->FindSectionByType(SectionType::AMDRGPProfile);
|
||||
|
||||
if(idx < 0)
|
||||
|
||||
Reference in new issue
Block a user