summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-14 19:33:57 +0100
committerwm4 <wm4@nowhere>2013-12-01 19:22:34 +0100
commit6fcdb4ced33d468d4e0e325c5b3087802c1a3815 (patch)
tree68cc70f909d2048bd4a44809bc6f0784bcd624d0
parente773bda8932a3b96eef11c5fe5024ef79c6bbb24 (diff)
downloadmpv-6fcdb4ced33d468d4e0e325c5b3087802c1a3815.tar.bz2
mpv-6fcdb4ced33d468d4e0e325c5b3087802c1a3815.tar.xz
gl_common: print SW renderer warning only if it was the only reason we rejected it
-rw-r--r--video/out/gl_common.c2
1 files changed, 1 insertions, 1 deletions
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))