Skip to content
Snippets Groups Projects
Commit d078cff2 authored by lat9nq's avatar lat9nq
Browse files

configure_graphics: Capture by reference

Small optimization.
parent ea46efd9
No related branches found
No related tags found
No related merge requests found
......@@ -493,7 +493,7 @@ void ConfigureGraphics::RetrieveVulkanDevices() {
}
Settings::RendererBackend ConfigureGraphics::GetCurrentGraphicsBackend() const {
const auto selected_backend = [=]() {
const auto selected_backend = [&]() {
if (!Settings::IsConfiguringGlobal() && !api_restore_global_button->isEnabled()) {
return Settings::values.renderer_backend.GetValue(true);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment