diff options
author | wm4 <wm4@nowhere> | 2020-06-06 12:26:37 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-06-06 12:26:37 +0200 |
commit | 5ad73ccbe9e9a736e7545e99879bf7acf9cb01f9 (patch) | |
tree | 8de7d4adb8c6a1bbb155c5716afc3128fc2deb77 /video/out/gpu/video_shaders.c | |
parent | 7174c063de69e10ef1d860895c23941355960e8e (diff) | |
download | mpv-5ad73ccbe9e9a736e7545e99879bf7acf9cb01f9.tar.bz2 mpv-5ad73ccbe9e9a736e7545e99879bf7acf9cb01f9.tar.xz |
vo_gpu: fix display corruption with window screenshots
The "screenshot window" command (ctrl+s by default) somehow broke video
colors with --gpu-api=vulkan --profile=gpu-hq when playback was paused.
I don't know the cause, but the rest of the code seems to imply
gl_video_reset_surfaces() needs to be called manually to flush some
caches, and it fixes the issue, so I assume there's no great mystery
here.
Diffstat (limited to 'video/out/gpu/video_shaders.c')
0 files changed, 0 insertions, 0 deletions