summaryrefslogtreecommitdiffstats
path: root/player/video.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-26 10:35:49 +0100
committerwm4 <wm4@nowhere>2015-02-26 10:37:31 +0100
commit280c826379dfdebb9e949d22583c01d532a504c7 (patch)
tree9d23e640ac543cd39903d2cc3d7b5034b685950f /player/video.c
parenta2e0cd7f251f0c1750bbe7adaff6d408ae7dcd37 (diff)
downloadmpv-280c826379dfdebb9e949d22583c01d532a504c7.tar.bz2
mpv-280c826379dfdebb9e949d22583c01d532a504c7.tar.xz
vo_opengl: test FBOs only if they're going to be used
Change test_fbo() so that it checks the FBO lazily, and restructure check_gl_features() to invoke it only if we know that a FBO will be needed for a certain enabled feature. This can avoid strange error messages when using --vo=opengl and the FBO format does not work. It's also less confusing when reading the verbose log (users might think that the FBO is actually used, etc.).
Diffstat (limited to 'player/video.c')
0 files changed, 0 insertions, 0 deletions