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:
1 parent
ad8c8f6f28
commit
af87ab3afd
1 file changed
+2
-1
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user