summaryrefslogtreecommitdiffstats
path: root/video/hwdec.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2017-09-23 09:54:42 +0200
committerNiklas Haas <git@haasn.xyz>2017-09-23 09:58:27 +0200
commitb0ba193b66b402c5417aa5c0863cc357139e528d (patch)
tree8e97f4e4a26311a28fa3c94d2c2f4349f83b8a1a /video/hwdec.c
parentf3ec4946137a29e0b2c2bb181b369a3a770bf4bc (diff)
downloadmpv-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/hwdec.c')
0 files changed, 0 insertions, 0 deletions