Windows: OpenGL debug assertions hit when updating to latest JUCE 7/develop

For context:

  • the only thing we have going on in our app is the basic OpenGL context being attached to the window.
  • the same assertions show up with the DemoRunner on Windows (when selecting OpenGL as renderer).
  • Win11 x64 + RTX3080 Ti + latest GeForce drivers

The assertion being hit is in here: JUCE/juce_OpenGLContext.cpp at develop · juce-framework/JUCE · GitHub

Based on my findings on Google, some debug details from this assertion are just that: verbose info and not actually warnings or errors. Filtering some of this might be the course of action, but I’ll leave that up the devs.

OpenGL DBG message: Buffer detailed info: Buffer object 1 (bound to GL_ELEMENT_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations.
JUCE Assertion failure in juce_OpenGLContext.cpp:630
A breakpoint instruction (__debugbreak() statement or a similar call) was executed in Orba 2.exe.

OpenGL DBG message: Buffer detailed info: Buffer object 2 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations.
JUCE Assertion failure in juce_OpenGLContext.cpp:630
A breakpoint instruction (__debugbreak() statement or a similar call) was executed in Orba 2.exe.

OpenGL DBG message: Buffer detailed info: Buffer object 1 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations.
JUCE Assertion failure in juce_OpenGLContext.cpp:630
A breakpoint instruction (__debugbreak() statement or a similar call) was executed in Orba 2.exe.

OpenGL DBG message: Buffer detailed info: Buffer object 1 (bound to GL_ELEMENT_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations.
JUCE Assertion failure in juce_OpenGLContext.cpp:630
A breakpoint instruction (__debugbreak() statement or a similar call) was executed in Orba 2.exe.

OpenGL DBG message: Buffer detailed info: Buffer object 2 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations.
JUCE Assertion failure in juce_OpenGLContext.cpp:630
A breakpoint instruction (__debugbreak() statement or a similar call) was executed in Orba 2.exe.

OpenGL DBG message: Buffer detailed info: Buffer object 1 (bound to GL_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer object operations.

This is now fixed on develop:

Thanks!