diff options
author | Michael Forney <mforney@mforney.org> | 2020-05-16 15:25:58 -0700 |
---|---|---|
committer | wm4 <1387750+wm4@users.noreply.github.com> | 2020-05-17 12:53:26 +0200 |
commit | 3cb9e93cdf8a71154a70d0cfa1e0676905d5a436 (patch) | |
tree | 4b1afd2eba4c6ac59f43c760a95beeca1c9ce582 /README.md | |
parent | 43cb89fca3bdddf4ab3c09618aab38a1d94f8c5c (diff) | |
download | mpv-3cb9e93cdf8a71154a70d0cfa1e0676905d5a436.tar.bz2 mpv-3cb9e93cdf8a71154a70d0cfa1e0676905d5a436.tar.xz |
vo_wlshm, vo_drm: set image size with mp_image_set_size
The image w and h members must match params.w and params.h, so
should not be changed directly. The helper function mp_image_set_size
is designed for this purpose, so just use that instead.
This prevents an assertion error with the rewritten draw_bmp.
Fixes #7721.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions