# HG changeset patch # User reimar # Date 1308509730 0 # Node ID c4d315b544a16ba9cb983824f815e3b7d5dcd567 # Parent 5e2f3d01214a3919a155f2a6ffa236e337c77f02 Remove GUI-specific code that is already handled by common code now. diff -r 5e2f3d01214a -r c4d315b544a1 libvo/vo_directx.c --- a/libvo/vo_directx.c Sun Jun 19 18:53:28 2011 +0000 +++ b/libvo/vo_directx.c Sun Jun 19 18:55:30 2011 +0000 @@ -37,10 +37,6 @@ #include "sub/sub.h" #include "w32_common.h" -#ifdef CONFIG_GUI -#include "gui/interface.h" -#endif - #ifndef WM_XBUTTONDOWN # define WM_XBUTTONDOWN 0x020B # define WM_XBUTTONUP 0x020C @@ -998,11 +994,6 @@ image_height = height; if(format != primary_image_format)nooverlay = 0; -#ifdef CONFIG_GUI - if(use_gui){ - guiGetEvent(guiSetShVideo, 0); - } -#endif /*release all directx objects*/ if (g_cc != NULL)g_cc->lpVtbl->Release(g_cc); g_cc=NULL;