summaryrefslogtreecommitdiffstats
path: root/video/out/drm_common.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-08 15:54:08 +0200
committerwm4 <wm4@nowhere>2016-09-08 16:06:12 +0200
commit8bb9632e273e78963af85ab4c4cd275e69d77713 (patch)
tree2ad42a01044cdf0d89ba561698ace78fda76f6a1 /video/out/drm_common.h
parent2048ad2b8af1becddb70cad2a7adc0361b779443 (diff)
downloadmpv-8bb9632e273e78963af85ab4c4cd275e69d77713.tar.bz2
mpv-8bb9632e273e78963af85ab4c4cd275e69d77713.tar.xz
vo_opengl: simplify a condition
The " || vimg->mpi" part virtually never seems to trigger, but on the other hand could possibly create unintended corner cases (for example by trying to upload a NULL image, which would then be marked as an error and render a blue screen). I guess it's a leftover from over times, where a NULL image meant "redraw the current frame". This is now handled by actually passing along the current frame.
Diffstat (limited to 'video/out/drm_common.h')
0 files changed, 0 insertions, 0 deletions