mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
OpenGL: Ensure a VAO is bound before calling user render callback
This commit is contained in:
parent
e4b8569b12
commit
17deafbb0d
2 changed files with 3 additions and 4 deletions
|
|
@ -763,6 +763,7 @@ public:
|
|||
controlsOverlay.reset (new DemoControlsOverlay (*this));
|
||||
addAndMakeVisible (controlsOverlay.get());
|
||||
|
||||
openGLContext.setOpenGLVersionRequired (OpenGLContext::openGL3_2);
|
||||
openGLContext.setRenderer (this);
|
||||
openGLContext.attachTo (*this);
|
||||
openGLContext.setContinuousRepainting (true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue