From 6fcdb4ced33d468d4e0e325c5b3087802c1a3815 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 14 Nov 2013 19:33:57 +0100 Subject: gl_common: print SW renderer warning only if it was the only reason we rejected it --- video/out/gl_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/out/gl_common.c b/video/out/gl_common.c index c66aa5c4a3..b9ce313006 100644 --- a/video/out/gl_common.c +++ b/video/out/gl_common.c @@ -946,7 +946,7 @@ bool mpgl_config_window(struct MPGLContext *ctx, int gl_caps, uint32_t d_width, MP_WARN(ctx->vo, "Missing OpenGL features:"); list_features(missing, ctx->vo->log, MSGL_WARN, false); - if (missing & MPGL_CAP_NO_SW) { + if (missing == MPGL_CAP_NO_SW) { MP_WARN(ctx->vo, "Rejecting suspected software OpenGL renderer.\n"); } else if ((missing & MPGL_CAP_GL21) && (ctx->gl->mpgl_caps & MPGL_CAP_GL_LEGACY)) -- cgit v1.2.3