[MPlayer-cvslog] r28452 - trunk/libvo/vo_direct3d.c
reimar
subversion at mplayerhq.hu
Tue Feb 3 11:16:04 CET 2009
Author: reimar
Date: Tue Feb 3 11:16:03 2009
New Revision: 28452
Log:
Check for change_d3d_backbuffer failure.
Modified:
trunk/libvo/vo_direct3d.c
Modified: trunk/libvo/vo_direct3d.c
==============================================================================
--- trunk/libvo/vo_direct3d.c Tue Feb 3 11:14:44 2009 (r28451)
+++ trunk/libvo/vo_direct3d.c Tue Feb 3 11:16:03 2009 (r28452)
@@ -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
More information about the MPlayer-cvslog
mailing list