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

@@ -405,6 +405,8 @@ void App::init()
initLayout();
title_update();
uirtt.create(width, height, -1, GL_RGBA8, true);
if (!check_license())
{
message_box("License", "Could not validate this license, running in demo mode.");

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