mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
minor refactor
This commit is contained in:
parent
69779f0cc0
commit
04b6b6b546
29 changed files with 130 additions and 91 deletions
|
|
@ -206,7 +206,7 @@ void Engine::renderFrame(Batch2D& batch) {
|
|||
|
||||
Viewport viewport(Window::width, Window::height);
|
||||
DrawContext ctx(nullptr, viewport, &batch);
|
||||
gui->draw(&ctx, assets.get());
|
||||
gui->draw(ctx, *assets);
|
||||
}
|
||||
|
||||
void Engine::processPostRunnables() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue