Fix previous commit

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2021-10-19 16:00:53 +01:00
parent 2ccdd992bc
commit 49a7138e87
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0

View file

@ -98,6 +98,8 @@ void WindowInit(Window* const window, DISTRHO_NAMESPACE::UI* const ui)
INFO("Renderer: %s %s", vendor, renderer);
INFO("OpenGL: %s", version);
window->internal->ui = ui;
window->vg = ui->getContext();
window->fbVg = nvgCreateSharedGL2(window->vg, NVG_ANTIALIAS);