changeset 28121:2a6dfdf16b6b

#include sub.h instead of locally declaring vo_draw_text().
author diego
date Wed, 17 Dec 2008 00:06:03 +0000
parents 4439fff4d904
children 113fe9968c5b
files libvo/vo_directx.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_directx.c	Tue Dec 16 05:19:11 2008 +0000
+++ b/libvo/vo_directx.c	Wed Dec 17 00:06:03 2008 +0000
@@ -37,6 +37,7 @@
 #include "aspect.h"
 #include "geometry.h"
 #include "mp_fifo.h"
+#include "sub.h"
 
 #ifdef CONFIG_GUI
 #include "gui/interface.h"
@@ -89,7 +90,6 @@
 static BOOL (WINAPI* myGetMonitorInfo)(HMONITOR, LPMONITORINFO) = NULL;
 static RECT last_rect = {0xDEADC0DE, 0xDEADC0DE, 0xDEADC0DE, 0xDEADC0DE};
 
-void vo_draw_text(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride));
 extern int vidmode;
 
 /*****************************************************************************