vo_opengl_cb: icc-profile-auto does not and will not work

In theory we could probably make icc-profile-auto a vo_opengl-specific
option, but I won't bother with this. Logging an error is simpler.
This commit is contained in:
wm4
2016-06-05 15:00:07 +02:00
parent b3a3ed00f0
commit ee337b47be

View File

@@ -278,6 +278,8 @@ int mpv_opengl_cb_draw(mpv_opengl_cb_context *ctx, int fbo, int vp_w, int vp_h)
ctx->gl->debug_context = opts->use_gl_debug; ctx->gl->debug_context = opts->use_gl_debug;
gl_video_set_debug(ctx->renderer, opts->use_gl_debug); gl_video_set_debug(ctx->renderer, opts->use_gl_debug);
} }
if (gl_video_icc_auto_enabled(ctx->renderer))
MP_ERR(ctx, "icc-profile-auto is not available with opengl-cb\n");
} }
ctx->reconfigured = false; ctx->reconfigured = false;
ctx->update_new_opts = false; ctx->update_new_opts = false;