mirror of
https://github.com/overte-org/overte.git
synced 2025-06-06 13:41:06 +02:00
Throttle rendering needs to ensure it's active context
This commit is contained in:
parent
82d3302d1b
commit
ac7b373231
1 changed files with 1 additions and 0 deletions
|
@ -115,6 +115,7 @@ void GLCanvas::throttleRender() {
|
||||||
OculusManager::beginFrameTiming();
|
OculusManager::beginFrameTiming();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
makeCurrent();
|
||||||
Application::getInstance()->paintGL();
|
Application::getInstance()->paintGL();
|
||||||
swapBuffers();
|
swapBuffers();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue