diff options
author | wm4 <wm4@nowhere> | 2013-11-14 19:33:57 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-14 19:51:42 +0100 |
commit | 10bcab6bc1f473b71c86bf4fd6c49affb550aa08 (patch) | |
tree | 9467196da82d7741573c07db557773ec7f3fb560 /video | |
parent | 467ad4413e6bf710eeaa7dcd6e5204cfbda0c0ec (diff) | |
download | mpv-10bcab6bc1f473b71c86bf4fd6c49affb550aa08.tar.bz2 mpv-10bcab6bc1f473b71c86bf4fd6c49affb550aa08.tar.xz |
gl_common: print SW renderer warning only if it was the only reason we rejected it
Diffstat (limited to 'video')
-rw-r--r-- | video/out/gl_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gl_common.c b/video/out/gl_common.c index 8be109f6e3..a3ed6d626d 100644 --- a/video/out/gl_common.c +++ b/video/out/gl_common.c @@ -963,7 +963,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)) |