changeset 8668:7e14d06ab255

10l remove unused code
author faust3
date Mon, 30 Dec 2002 23:31:40 +0000
parents 7753ba3fdb15
children fd398a0b4b3b
files libvo/vo_directx.c
diffstat 1 files changed, 0 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_directx.c	Mon Dec 30 23:14:31 2002 +0000
+++ b/libvo/vo_directx.c	Mon Dec 30 23:31:40 2002 +0000
@@ -287,18 +287,6 @@
 	return 0;
 }
 
-//create clipper for nonoverlay mode
-static uint32_t Directx_CreateClipper()
-{
-	if(g_lpddclipper)g_lpddclipper->lpVtbl->Release(g_lpddclipper);
-    g_lpddclipper=NULL;
-	if(g_lpdd->lpVtbl->CreateClipper(g_lpdd, 0, &g_lpddclipper,NULL)!= DD_OK){mp_msg(MSGT_VO, MSGL_FATAL,"<vo_directx><FATAL ERROR>can't create clipper\n");return 1;}
-    if(g_lpddclipper->lpVtbl->SetHWnd (g_lpddclipper, 0, hWnd)!= DD_OK){mp_msg(MSGT_VO, MSGL_FATAL,"<vo_directx><FATAL ERROR>can't associate clipper with window\n");return 1;}
-    if(g_lpddsPrimary->lpVtbl->SetClipper (g_lpddsPrimary,g_lpddclipper)!=DD_OK){mp_msg(MSGT_VO, MSGL_FATAL,"<vo_directx><FATAL ERROR>can't associate primary surface with clipper\n");return 1;}
-	mp_msg(MSGT_VO, MSGL_DBG3,"<vo_directx><INFO>clipper succesfully created\n");
-	return 0;
-}
-
 static void uninit(void)
 {
 	if (g_lpddclipper != NULL) g_lpddclipper->lpVtbl->Release(g_lpddclipper);