File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,10 @@ App::App()
3131 auto instExts = windowing.getRequiredVulkanInstanceExtensions ();
3232 renderer->initVulkan (instExts);
3333
34- auto surface = mainWindow->createVkSurface (etna::get_context ().getInstance ());
34+ auto surface_ = mainWindow->createVkSurface (etna::get_context ().getInstance ());
3535
3636 renderer->initFrameDelivery (
37- std::move (surface ), [window = mainWindow.get ()]() { return window->getResolution (); });
37+ std::move (surface_ ), [window = mainWindow.get ()]() { return window->getResolution (); });
3838
3939 // TODO: this is bad design, this initialization is dependent on the current ImGui context, but we
4040 // pass it implicitly here instead of explicitly. Beware if trying to do something tricky.
You can’t perform that action at this time.
0 commit comments