diff options
author | wm4 <wm4@nowhere> | 2015-02-26 10:35:49 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-02-26 10:37:31 +0100 |
commit | 280c826379dfdebb9e949d22583c01d532a504c7 (patch) | |
tree | 9d23e640ac543cd39903d2cc3d7b5034b685950f /options/m_option.c | |
parent | a2e0cd7f251f0c1750bbe7adaff6d408ae7dcd37 (diff) | |
download | mpv-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 'options/m_option.c')
0 files changed, 0 insertions, 0 deletions