Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions tasks/local_shadertoy1/App.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ App::App()
});
}

// Next, we need a magical Etna helper to send commands to the GPU.
// How it is actually performed is not trivial, but we can skip this for now.
commandManager = etna::get_context().createPerFrameCmdMgr();

// Now we can create an OS window
osWindow = windowing.createWindow(OsWindow::CreateInfo{
.resolution = resolution,
Expand Down Expand Up @@ -70,11 +74,6 @@ App::App()
resolution = {w, h};
}

// Next, we need a magical Etna helper to send commands to the GPU.
// How it is actually performed is not trivial, but we can skip this for now.
commandManager = etna::get_context().createPerFrameCmdMgr();


// TODO: Initialize any additional resources you require here!
}

Expand Down