Fix initial GL state for some systems
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
3a88af1112
commit
673279a8bf
2 changed files with 6 additions and 2 deletions
|
@ -431,6 +431,10 @@ public:
|
|||
setSize(DISTRHO_UI_DEFAULT_WIDTH * scaleFactor, DISTRHO_UI_DEFAULT_HEIGHT * scaleFactor);
|
||||
}
|
||||
|
||||
#if DISTRHO_PLUGIN_WANT_DIRECT_ACCESS
|
||||
const DGL_NAMESPACE::Window::ScopedGraphicsContext sgc(window);
|
||||
#endif
|
||||
|
||||
rack::window::WindowSetPluginUI(context->window, this);
|
||||
|
||||
// hide "Browse VCV Library" button
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue