Merge pull request #5061 from jherico/skybox-jiggle

Fix the skybox jiggle in the HMD
This commit is contained in:
Seth Alves 2015-06-05 10:14:07 -07:00
commit 08902d0ec9

View file

@ -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);