mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 14:03:55 +02:00
Merge pull request #5061 from jherico/skybox-jiggle
Fix the skybox jiggle in the HMD
This commit is contained in:
commit
08902d0ec9
1 changed files with 1 additions and 1 deletions
|
@ -3314,7 +3314,7 @@ void Application::displaySide(Camera& theCamera, bool selfAvatarOnly, bool billb
|
|||
skybox = skyStage->getSkybox();
|
||||
if (skybox) {
|
||||
gpu::Batch batch;
|
||||
model::Skybox::render(batch, _viewFrustum, *skybox);
|
||||
model::Skybox::render(batch, _displayViewFrustum, *skybox);
|
||||
|
||||
gpu::GLBackend::renderBatch(batch);
|
||||
glUseProgram(0);
|
||||
|
|
Loading…
Reference in a new issue