GL disp.: fixed using PBO by default

Inverted condition was used by c2bf052d causing PBO being disabled by
default but enabled on Raspi - it should be actually the opposite.
This commit is contained in:
Martin Pulec
2021-11-12 11:57:41 +01:00
parent 1f4fe64760
commit 55aa09d57b

View File

@@ -531,7 +531,7 @@ static void * display_gl_init(struct module *parent, const char *fmt, unsigned i
free(tmp);
}
s->use_pbo = use_pbo == -1 ? check_rpi_pbo_quirks() : use_pbo; // don't use PBO for Raspberry Pi (better performance)
s->use_pbo = use_pbo == -1 ? !check_rpi_pbo_quirks() : use_pbo; // don't use PBO for Raspberry Pi (better performance)
log_msg(LOG_LEVEL_INFO,"GL setup: fullscreen: %s, deinterlace: %s\n",
s->fs ? "ON" : "OFF", s->deinterlace ? "ON" : "OFF");