diff options
author | Niklas Haas <git@haasn.xyz> | 2017-09-23 09:54:42 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2017-09-23 09:58:27 +0200 |
commit | b0ba193b66b402c5417aa5c0863cc357139e528d (patch) | |
tree | 8e97f4e4a26311a28fa3c94d2c2f4349f83b8a1a /video/out/opengl | |
parent | f3ec4946137a29e0b2c2bb181b369a3a770bf4bc (diff) | |
download | mpv-b0ba193b66b402c5417aa5c0863cc357139e528d.tar.bz2 mpv-b0ba193b66b402c5417aa5c0863cc357139e528d.tar.xz |
vo_gpu: handle texture initialization errors gracefully
Tested by making the ra_tex_resize function always fail (apart from the
initial FBO check). This required a few changes:
1. reset shaders on failed dispatch
2. reset cleanup binds on failed dispatch
3. fall back to initializing the struct image to 1x1 on failure
4. handle output_fbo_valid gracefully
Diffstat (limited to 'video/out/opengl')
0 files changed, 0 insertions, 0 deletions