diff options
Diffstat (limited to 'video')
-rw-r--r-- | video/out/opengl/video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c index 130d049136..f9bcc60c25 100644 --- a/video/out/opengl/video.c +++ b/video/out/opengl/video.c @@ -1713,7 +1713,7 @@ static void pass_dispatch_sample_polar(struct gl_video *p, struct scaler *scaler GL *gl = p->gl; GLenum reqs = MPGL_CAP_COMPUTE_SHADER | MPGL_CAP_NESTED_ARRAY; - if (!(gl->mpgl_caps & reqs)) + if ((gl->mpgl_caps & reqs) != reqs) goto fallback; int bound = ceil(scaler->kernel->radius_cutoff); |