diff --git a/ultragrid/src/gl_context.c b/ultragrid/src/gl_context.c index 5e4206a50..375227449 100644 --- a/ultragrid/src/gl_context.c +++ b/ultragrid/src/gl_context.c @@ -25,7 +25,9 @@ void init_gl_context(struct gl_context *context, int which) { context->legacy = FALSE; } if(!context->context) { - fprintf(stderr, "[RTDXT] OpenGL 3.1 profile failed to initialize, falling back to legacy profile.\n"); + if(which != GL_CONTEXT_LEGACY) { + fprintf(stderr, "[RTDXT] OpenGL 3.1 profile failed to initialize, falling back to legacy profile.\n"); + } context->context = glx_init(OPENGL_VERSION_UNSPECIFIED); context->legacy = TRUE; }