--- video/out/opengl/video.c.orig +++ video/out/opengl/video.c @@ -3216,10 +3216,14 @@ static void check_gl_features(struct gl_ } } +#if !defined(__APPLE__) || MAC_OS_X_VERSION_MAX_ALLOWED >= 1070 if (!gl->MapBufferRange && p->opts.pbo) { +#endif p->opts.pbo = 0; MP_WARN(p, "Disabling PBOs (GL2.1/GLES2 unsupported).\n"); +#if !defined(__APPLE__) || MAC_OS_X_VERSION_MAX_ALLOWED >= 1070 } +#endif p->forced_dumb_mode = p->opts.dumb_mode > 0 || !have_fbo || !have_texrg; bool voluntarily_dumb = check_dumb_mode(p);