mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
refactor: add Window interface
This commit is contained in:
parent
cd5c6a889c
commit
9694a59649
31 changed files with 859 additions and 923 deletions
|
|
@ -316,7 +316,7 @@ void WorldRenderer::renderHands(
|
|||
assets.get<model::Model>(def.modelName),
|
||||
nullptr
|
||||
);
|
||||
Window::clearDepth();
|
||||
display::clearDepth();
|
||||
setupWorldShader(entityShader, hudcam, engine.getSettings(), 0.0f);
|
||||
skybox->bind();
|
||||
modelBatch->render();
|
||||
|
|
@ -359,7 +359,7 @@ void WorldRenderer::draw(
|
|||
DrawContext wctx = pctx.sub();
|
||||
postProcessing.use(wctx);
|
||||
|
||||
Window::clearDepth();
|
||||
display::clearDepth();
|
||||
|
||||
// Drawing background sky plane
|
||||
skybox->draw(pctx, camera, assets, worldInfo.daytime, clouds);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue