vo_opengl: fix broken rejection of extended scaling

Possibly explains why some users got mysterious FBO errors on crappy
hardware.
This commit is contained in:
wm4
2015-01-25 17:00:08 +09:00
committed by Diogo Franco (Kovensky)
parent 7368d8f353
commit 676457256a
+2 -3
View File
@@ -2079,9 +2079,8 @@ static void check_gl_features(struct gl_video *p)
// Without FP textures, we must always disable them.
if (!have_float_tex || (!have_fbo && p->opts.scale_sep)) {
for (int n = 0; n < 2; n++) {
struct scaler *scaler = &p->scalers[n];
if (mp_find_filter_kernel(scaler->name)) {
scaler->name = "bilinear";
if (mp_find_filter_kernel(p->opts.scalers[n])) {
p->opts.scalers[n] = "bilinear";
disabled[n_disabled++]
= have_float_tex ? "scaler (FBO)" : "scaler (float tex.)";
}