mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-12-01 18:45:39 +00:00
Removed an unnecessary lambda capture in ViewController
This commit is contained in:
parent
c50f139588
commit
0872201652
|
@ -1173,7 +1173,7 @@ void ViewController::render(const glm::mat4& parentTrans)
|
||||||
if (mSystemListView == mCurrentView || (mSystemViewTransition && isCameraMoving()))
|
if (mSystemListView == mCurrentView || (mSystemViewTransition && isCameraMoving()))
|
||||||
getSystemListView()->render(trans);
|
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 guiStart {it->second->getPosition()};
|
||||||
const glm::vec3 guiEnd {it->second->getPosition() +
|
const glm::vec3 guiEnd {it->second->getPosition() +
|
||||||
glm::vec3 {it->second->getSize().x, it->second->getSize().y, 0.0f}};
|
glm::vec3 {it->second->getSize().x, it->second->getSize().y, 0.0f}};
|
||||||
|
|
Loading…
Reference in a new issue