mirror of
https://github.com/overte-org/overte.git
synced 2025-04-13 14:52:19 +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();
|
||||
}
|
||||
|
||||
makeCurrent();
|
||||
Application::getInstance()->paintGL();
|
||||
swapBuffers();
|
||||
|
||||
|
|
Loading…
Reference in a new issue