mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-29 13:22:53 +02:00
Attempting to fix judder issues
This commit is contained in:
parent
72b1801b94
commit
b8b0917d9d
1 changed files with 2 additions and 3 deletions
|
@ -993,6 +993,8 @@ void Application::paintGL() {
|
||||||
auto displayPlugin = getActiveDisplayPlugin();
|
auto displayPlugin = getActiveDisplayPlugin();
|
||||||
displayPlugin->preRender();
|
displayPlugin->preRender();
|
||||||
_offscreenContext->makeCurrent();
|
_offscreenContext->makeCurrent();
|
||||||
|
// update the avatar with a fresh HMD pose
|
||||||
|
_myAvatar->updateFromHMDSensorMatrix(getHMDSensorPose());
|
||||||
|
|
||||||
auto lodManager = DependencyManager::get<LODManager>();
|
auto lodManager = DependencyManager::get<LODManager>();
|
||||||
|
|
||||||
|
@ -2683,9 +2685,6 @@ void Application::update(float deltaTime) {
|
||||||
updateLOD();
|
updateLOD();
|
||||||
updateMouseRay(); // check what's under the mouse and update the mouse voxel
|
updateMouseRay(); // check what's under the mouse and update the mouse voxel
|
||||||
|
|
||||||
// update the avatar with a fresh HMD pose
|
|
||||||
_myAvatar->updateFromHMDSensorMatrix(getHMDSensorPose());
|
|
||||||
|
|
||||||
{
|
{
|
||||||
PerformanceTimer perfTimer("devices");
|
PerformanceTimer perfTimer("devices");
|
||||||
DeviceTracker::updateAll();
|
DeviceTracker::updateAll();
|
||||||
|
|
Loading…
Reference in a new issue