summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-28 18:50:45 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-28 18:50:45 +0000
commitbaefead944900c847cacb91451adbddf3d702705 (patch)
treeffa7378243fbba8f20aa338ea44ce04d8f265b52 /libvo
parentd9e1ce434847f10192edb486de43c9b0ba2a3a99 (diff)
downloadmpv-baefead944900c847cacb91451adbddf3d702705.tar.bz2
mpv-baefead944900c847cacb91451adbddf3d702705.tar.xz
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
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_dga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_dga.c b/libvo/vo_dga.c
index 24e945f8df..57da50b8a7 100644
--- a/libvo/vo_dga.c
+++ b/libvo/vo_dga.c
@@ -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;