From 0872201652be5c5e255afb20d65a7f2311d51757 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Mon, 7 Aug 2023 00:12:45 +0200 Subject: [PATCH] Removed an unnecessary lambda capture in ViewController --- es-app/src/views/ViewController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-app/src/views/ViewController.cpp b/es-app/src/views/ViewController.cpp index dfb1b164e..6c6e5d4dc 100644 --- a/es-app/src/views/ViewController.cpp +++ b/es-app/src/views/ViewController.cpp @@ -1173,7 +1173,7 @@ void ViewController::render(const glm::mat4& parentTrans) if (mSystemListView == mCurrentView || (mSystemViewTransition && isCameraMoving())) getSystemListView()->render(trans); - auto gamelistRenderFunc = [this, trans, viewStart, viewEnd](auto it) { + auto gamelistRenderFunc = [trans, viewStart, viewEnd](auto it) { const glm::vec3 guiStart {it->second->getPosition()}; const glm::vec3 guiEnd {it->second->getPosition() + glm::vec3 {it->second->getSize().x, it->second->getSize().y, 0.0f}};