changeset 18952:68560e9f3d6f

handle sub-window WinID checks in the gui.
author vayne
date Sat, 08 Jul 2006 16:48:41 +0000
parents 82aa797f4ad6
children b83cefcd7e41
files libvo/vo_directx.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_directx.c	Sat Jul 08 15:50:11 2006 +0000
+++ b/libvo/vo_directx.c	Sat Jul 08 16:48:41 2006 +0000
@@ -1316,7 +1316,7 @@
     vo_dy = 0;   
 
 #ifdef HAVE_NEW_GUI
-    if(use_gui && WinID != -1){
+    if(use_gui){
         vo_dwidth = d_image_width;
         vo_dheight = d_image_height;
         guiGetEvent(guiSetShVideo, 0);