fix quest vr threading

This commit is contained in:
2019-08-01 18:22:31 +02:00
parent 945028f171
commit 32667b709e
5 changed files with 51 additions and 43 deletions

View File

@@ -35,9 +35,6 @@ void App::vr_stop()
void App::vr_draw_ui()
{
if (auto* main = layout[main_id])
main->update(width, height, zoom);
uirtt.bindFramebuffer();
uirtt.clear();
glViewport(0, 0, uirtt.getWidth(), uirtt.getHeight());