Er, Jules - like the GL errors stuff, but you can’t call OpenGL functions without an active context.
Just needs that first test to be removed. EDIT - both tests before the makeActive.
Bruce
[code]bool OpenGLComponent::performRender()
{
JUCE_CHECK_OPENGL_ERROR
const ScopedLock sl (contextLock);
#if JUCE_LINUX
updateContext();
#endif
JUCE_CHECK_OPENGL_ERROR
if (context != nullptr)
{
if (! makeCurrentRenderingTarget())
return false;[/code]