# HG changeset patch # User diego # Date 1229472363 0 # Node ID 2a6dfdf16b6bd5fa88100fa1f74b21f9c15aba5f # Parent 4439fff4d90487ec27899b8a9e38e9fcf3940bd7 #include sub.h instead of locally declaring vo_draw_text(). diff -r 4439fff4d904 -r 2a6dfdf16b6b libvo/vo_directx.c --- 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; /*****************************************************************************