mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 06:21:50 +00:00
fix pause
This commit is contained in:
parent
0f33b9dd15
commit
5cb119cc4c
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ void WorldRenderer::renderLevel(
|
||||||
|
|
||||||
setupWorldShader(entityShader, camera, settings, fogFactor);
|
setupWorldShader(entityShader, camera, settings, fogFactor);
|
||||||
entityShader.uniform1i("u_alphaClip", false);
|
entityShader.uniform1i("u_alphaClip", false);
|
||||||
precipitation->render(camera, delta);
|
precipitation->render(camera, pause ? 0.0f : delta);
|
||||||
|
|
||||||
skybox->unbind();
|
skybox->unbind();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue