diff options
author | Niklas Haas <git@haasn.xyz> | 2020-03-08 21:28:01 +0100 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2020-03-08 21:32:06 +0100 |
commit | c145c8008580629bd12a009678be16759f125e04 (patch) | |
tree | 8e5fbaa84f4dddd6508bd3442d4570aa64e532ef /video/out/wayland_common.c | |
parent | 3b4641a5a92b5a7926053b923e9da686c88e90df (diff) | |
download | mpv-c145c8008580629bd12a009678be16759f125e04.tar.bz2 mpv-c145c8008580629bd12a009678be16759f125e04.tar.xz |
vo_gpu: avoid error spam when ra_fbo fmt is non-storable
This simply makes the "is the destination FBO format bad?" check a tiny
bit less awful, by making sure we prefer storable FBO formats over
non-storable FBO formats. I'd love to make this also conditional on
whether or not we actually *need* a storable FBO format, but that logic
is decided later, in `pass_draw_to_screen`, and I don't want to
replicate the logic.
Fixes #7017.
Diffstat (limited to 'video/out/wayland_common.c')
0 files changed, 0 insertions, 0 deletions