another dga v1 fix by Fredrik Noring <noring@nocrew.org>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7534 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-09-28 18:50:45 +00:00
parent d9e1ce4348
commit baefead944
1 changed files with 1 additions and 1 deletions

View File

@ -724,13 +724,13 @@ static uint32_t config( uint32_t width, uint32_t height,
int x_off, y_off;
int wanted_width, wanted_height;
unsigned char *vo_dga_base;
#ifdef HAVE_DGA2
// needed to change DGA video mode
int modecount, mX=VO_DGA_INVALID_RES, mY=VO_DGA_INVALID_RES , mVBI=100000, mMaxY=0, i,j=0;
int dga_modenum;
XDGAMode *modelines=NULL, *modeline;
XDGADevice *dgadevice;
unsigned char *vo_dga_base;
#else
#ifdef HAVE_XF86VM
unsigned int vm_event, vm_error;