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:
reimar
2009-02-03 10:16:03 +00:00
parent ad8c8f6f28
commit af87ab3afd
+2 -1
View File
@@ -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