add vr_draw_ui method and make ui observer as method to be wildly available

This commit is contained in:
2019-05-29 22:41:37 +02:00
parent 9d6bb0187e
commit d750f80482
4 changed files with 66 additions and 44 deletions

View File

@@ -30,6 +30,7 @@ void App::tick(float dt)
void App::resize(float w, float h)
{
LOG("App::resize %d %d", (int)w, (int)h);
uirtt.create(w, h);
redraw = true;
width = w;