mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 23:00:41 +00:00
Check for change_d3d_backbuffer failure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28452 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ad8c8f6f28
commit
af87ab3afd
@ -492,7 +492,8 @@ static int resize_d3d(void)
|
||||
|
||||
if (vo_dwidth > priv->cur_backbuf_width ||
|
||||
vo_dheight > priv->cur_backbuf_height) {
|
||||
change_d3d_backbuffer (BACKBUFFER_RESET);
|
||||
if (!change_d3d_backbuffer(BACKBUFFER_RESET))
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Destroy the OSD textures. They should always match the new dimensions
|
||||
|
Loading…
Reference in New Issue
Block a user