summaryrefslogtreecommitdiffstats
path: root/core/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-02-24 15:29:06 +0100
committerwm4 <wm4@nowhere>2013-02-24 15:40:48 +0100
commite013fbd34e66270cf012a162ad1c46030a53fe69 (patch)
tree5e8ddbb65902b7afe2973b3626348086d6246a9b /core/command.c
parent2e1063d781732f0c98f31e73ebc4f364d599818e (diff)
downloadmpv-e013fbd34e66270cf012a162ad1c46030a53fe69.tar.bz2
mpv-e013fbd34e66270cf012a162ad1c46030a53fe69.tar.xz
vo_direct3d: always clear window before drawing video
This fixes the issue that black borders (e.g. on fullscreen) are not redrawn, even if OSD rendering changes these areas. In theory, the code could try some clever things to determine whether clearing the window is really necessary, but that's probably not worth the trouble and won't bring any significant performance gain, or might even make things slower (because the GPU can't discard the old contents). Also fix redrawing when changing panscan with OSD disabled.
Diffstat (limited to 'core/command.c')
0 files changed, 0 insertions, 0 deletions